Arakne / Araknemu

Simple Dofus server in Java
GNU Lesser General Public License v3.0
105 stars 28 forks source link

[db] Allow to disable connection pool #349

Closed vincent4vx closed 2 months ago

vincent4vx commented 3 months ago

When setting connection.poolSize to value less than 1, disable connection pool, so only 1 connection is available, and the pool implementation should block until the connection is released. This allows to use SQLite database with multiple players, because SQLite doesn't work well with concurrent accesses.