mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-21 15:44:19 +01:00
⌛ fix: time out hub push
This commit is contained in:
@@ -65,8 +65,7 @@ In this case, please cancel this run, rerun your gptdeploy command and login int
|
|||||||
def push_executor(dir_path):
|
def push_executor(dir_path):
|
||||||
for i in range(3):
|
for i in range(3):
|
||||||
try:
|
try:
|
||||||
_push_executor(dir_path)
|
return _push_executor(dir_path)
|
||||||
break
|
|
||||||
except timeout_decorator.timeout_decorator.TimeoutError:
|
except timeout_decorator.timeout_decorator.TimeoutError:
|
||||||
print('timeout error, retrying...')
|
print('timeout error, retrying...')
|
||||||
if i == 2:
|
if i == 2:
|
||||||
|
|||||||
Reference in New Issue
Block a user