2
0
forked from kodorvan/stcs

Switched to demo mode

This commit is contained in:
algizn97
2025-10-27 13:05:19 +05:00
parent a0ef48810a
commit 9497cca3e0
4 changed files with 7 additions and 7 deletions

View File

@@ -58,7 +58,8 @@ class WebSocketBot:
)
logger.info("User %s connected to WebSocket", tg_id)
else:
await asyncio.sleep(30)
await asyncio.sleep(5)
await self.try_connect_user(api_key, api_secret, tg_id)
await asyncio.sleep(10)
@@ -73,6 +74,7 @@ class WebSocketBot:
"""Try to connect a user to the WebSocket."""
try:
self.ws_private = WebSocket(
demo=True,
testnet=False,
channel_type="private",
api_key=api_key,