modified: app.py

modified:   bot.py
This commit is contained in:
SimolZimol
2025-08-24 01:21:39 +02:00
parent 3de4d6b455
commit a8770abd3a
3 changed files with 284 additions and 56 deletions

2
bot.py
View File

@@ -196,7 +196,7 @@ def retry_query(func, *args, retries=3, delay=5):
pool = mysql.connector.pooling.MySQLConnectionPool(
pool_name="mypool",
pool_size=30, # Erhöht von 10 auf 30
pool_size=25, # Reduziert von 30 auf 25 (App: 15, Bot: 25 = 40 total)
pool_reset_session=True,
autocommit=True,
host=DB_HOST,