Skip to content

Commit 680eb53

Browse files
all wait is set to 30 sec
1 parent a18f2f1 commit 680eb53

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Framework/deploy_handler/long_poll_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ async def run(self, host: str) -> None:
284284

285285
if resp.status_code == httpx.codes.BAD_GATEWAY:
286286
print_online = True
287-
print(Fore.YELLOW + "Server offline. Retrying after 20s")
288-
await asyncio.sleep(20)
287+
print(Fore.YELLOW + "Server offline. Retrying after 30s")
288+
await asyncio.sleep(30)
289289
continue
290290

291291
if not resp.ok:

node_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ async def Login(
277277

278278
console.print(table)
279279
elif status_code == 502:
280-
print(Fore.YELLOW + "Server offline. Retrying after 60s")
281-
await asyncio.sleep(60)
280+
print(Fore.YELLOW + "Server offline. Retrying after 30s")
281+
await asyncio.sleep(30)
282282
STATE.reconnect_with_credentials = LoginCredentials(
283283
server=ConfigModule.get_config_value(AUTHENTICATION_TAG, "server_address").strip('"').strip(),
284284
api_key=ConfigModule.get_config_value(AUTHENTICATION_TAG, "api-key").strip('"').strip(),

0 commit comments

Comments
 (0)