mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix(oauth2): silence lock acquisition errors on token refresh (#39463)
Co-authored-by: Beto Dealmeida <beto@preset.io>
This commit is contained in:
@@ -82,6 +82,8 @@ def generate_code_challenge(code_verifier: str) -> str:
|
||||
factor=10,
|
||||
base=2,
|
||||
max_tries=5,
|
||||
raise_on_giveup=False,
|
||||
giveup_log_level=logging.DEBUG,
|
||||
)
|
||||
def get_oauth2_access_token(
|
||||
config: OAuth2ClientConfig,
|
||||
|
||||
Reference in New Issue
Block a user