mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-10 14:43:34 +00:00
Bound sleep time in create project (#1541)
This commit is contained in:
@ -7614,7 +7614,7 @@ and accept the Terms of Service (ToS). As soon as you've accepted the ToS popup,
|
|||||||
controlflow.system_error_exit(1, status)
|
controlflow.system_error_exit(1, status)
|
||||||
if status.get('done', False):
|
if status.get('done', False):
|
||||||
break
|
break
|
||||||
sleep_time = i**2
|
sleep_time = min(2**i, 60)
|
||||||
print(f'Project still being created. Sleeping {sleep_time} seconds')
|
print(f'Project still being created. Sleeping {sleep_time} seconds')
|
||||||
time.sleep(sleep_time)
|
time.sleep(sleep_time)
|
||||||
if create_again:
|
if create_again:
|
||||||
|
Reference in New Issue
Block a user