mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-10 23:02:06 +01:00
Fix database connection and errors (#1681)
This commit is contained in:
@@ -64,11 +64,11 @@ object DBManager {
|
||||
|
||||
// Optimized for Raspberry Pi / Low memory environments
|
||||
maximumPoolSize = 6 // Moderate pool for better concurrency
|
||||
minimumIdle = 2 // Keep 2 idle connections for responsiveness
|
||||
connectionTimeout = 45.seconds.inWholeMilliseconds // more tolerance for slow devices
|
||||
idleTimeout = 5.minutes.inWholeMilliseconds // close idle connections faster
|
||||
maxLifetime = 15.minutes.inWholeMilliseconds // recycle connections more often
|
||||
leakDetectionThreshold = 1.minutes.inWholeMilliseconds
|
||||
isAutoCommit = false
|
||||
|
||||
// Pool name for monitoring
|
||||
poolName = "Suwayomi-DB-Pool"
|
||||
|
||||
Reference in New Issue
Block a user