mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-21 07:34:20 +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):
|
||||
for i in range(3):
|
||||
try:
|
||||
_push_executor(dir_path)
|
||||
break
|
||||
return _push_executor(dir_path)
|
||||
except timeout_decorator.timeout_decorator.TimeoutError:
|
||||
print('timeout error, retrying...')
|
||||
if i == 2:
|
||||
|
||||
Reference in New Issue
Block a user