Sfoglia il codice sorgente

Changes Update Time of Users in Database

BaumSplitter41 4 mesi fa
parent
commit
e8d83e4f70
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      VPD_BOT/main.py

+ 1 - 1
VPD_BOT/main.py

@@ -552,7 +552,7 @@ async def update_users_periodically():
         except Exception as e:
             print(f"Error updating users: {e}")
         
-        await asyncio.sleep(3600)  # Update every hour
+        await asyncio.sleep(600)  # Update every 10 minutes