modified: app.py

modified:   bot.py
This commit is contained in:
SimolZimol
2025-08-24 01:27:11 +02:00
parent 02dcde6f54
commit eb4ea0f6b8
2 changed files with 82 additions and 26 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=25, # Reduziert von 30 auf 25 (App: 15, Bot: 25 = 40 total)
pool_size=15, # Weiter reduziert von 25 auf 15 (App: 8, Bot: 15 = 23 total)
pool_reset_session=True,
autocommit=True,
host=DB_HOST,