ci: Replace 0.5 stagger with 10s in CI
This commit is contained in:
+2
-1
@@ -1135,8 +1135,9 @@ async def all_oauth_tokens(
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Create tasks for all users with staggered starts (0.5s apart)
|
# Create tasks for all users with staggered starts (0.5s apart)
|
||||||
|
scale = 0.5 if "GITHUB_ACTIONS" not in os.environ else 10
|
||||||
tasks = {
|
tasks = {
|
||||||
username: get_token_with_delay(username, config, idx * 0.5)
|
username: get_token_with_delay(username, config, idx * scale)
|
||||||
for idx, (username, config) in enumerate(test_users_setup.items())
|
for idx, (username, config) in enumerate(test_users_setup.items())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user