This commit is contained in:
2024-10-20 16:17:47 +02:00
parent a791803aec
commit 26ce03cdf6
5 changed files with 157 additions and 1 deletions

View File

@@ -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: