Merge remote-tracking branch 'origin/master' into chore/ci-drop-nc31-enable-nc33
This commit is contained in:
@@ -105,7 +105,7 @@ async def get_oauth_token_with_client(
|
||||
|
||||
# Wait for callback
|
||||
logger.info("Waiting for OAuth callback...")
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60 # was 30; too tight for consent+redirect on loaded CI
|
||||
start_time = time.time()
|
||||
while state not in auth_states:
|
||||
if time.time() - start_time > timeout_seconds:
|
||||
|
||||
@@ -161,7 +161,7 @@ async def get_oauth_token_with_client(
|
||||
|
||||
# Wait for callback
|
||||
logger.info("Waiting for OAuth callback...")
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60 # was 30; too tight for consent+redirect on loaded CI
|
||||
start_time = time.time()
|
||||
while state not in auth_states:
|
||||
if time.time() - start_time > timeout_seconds:
|
||||
|
||||
@@ -241,7 +241,7 @@ async def _obtain_token_for_client(
|
||||
|
||||
# Wait for callback server to receive auth code
|
||||
logger.info("Waiting for callback server to receive auth code...")
|
||||
timeout_seconds = 30
|
||||
timeout_seconds = 60 # was 30; too tight for consent+redirect on loaded CI
|
||||
start_time = time.time()
|
||||
while state not in auth_states:
|
||||
if time.time() - start_time > timeout_seconds:
|
||||
|
||||
Reference in New Issue
Block a user