modified: app.py
modified: bot.py
This commit is contained in:
2
bot.py
2
bot.py
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user