Update
This commit is contained in:
2
main.py
2
main.py
@@ -56,7 +56,7 @@ async def run_rcon_client():
|
||||
try:
|
||||
async with client.connect(IP_ADDR, PORT, PASSWORD):
|
||||
while True:
|
||||
await asyncio.sleep(3600) # Sleep for an hour and then check the connection
|
||||
await asyncio.sleep(60) # Sleep for an hour and then check the connection
|
||||
except Exception as e:
|
||||
print(f"Error in RCON client: {e}")
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user