mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 20:40:13 +03:00
As described in #2568 when multiple clients connect simultaneously, an excessive number of database pool connections are created. This leads to resource exhaustion and connection management issues. We have introduced the pool_size and max_overflow parameters to better control the database connection pool. These parameters ensure the database can handle a sufficient number of concurrent connections without over-allocating resources. Added pool_size and max_overflow arguments to the database initialization. This change overrides the default initialization configuration where the temporary fix was applied. Co-Authored-By: Ufi <86113085+ufiking@users.noreply.github.com>