feat(Core/DB): reconnect seconds and attempts configurable (#5673)

This commit is contained in:
Francesco Borzì
2021-05-10 20:09:23 +02:00
committed by GitHub
parent ebd757a331
commit 053f9f5fa4
3 changed files with 31 additions and 15 deletions

View File

@@ -150,6 +150,18 @@ WrongPass.Logging = 0
LoginDatabaseInfo = "127.0.0.1;3306;acore;acore;acore_auth"
#
# Database.Reconnect.Seconds
# Database.Reconnect.Attempts
#
# Description: How many seconds between every reconnection attempt
# and how many attempts will be performed in total
# Default: 20 attempts every 15 seconds
#
Database.Reconnect.Seconds = 15
Database.Reconnect.Attempts = 20
#
# LoginDatabase.WorkerThreads
# Description: The amount of worker threads spawned to handle asynchronous (delayed) MySQL