]> git.ipfire.org Git - pbs.git/commitdiff
database: Allow up to 1024 concurrent database connections
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 17 Sep 2023 08:05:13 +0000 (08:05 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 17 Sep 2023 08:05:13 +0000 (08:05 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/buildservice/database.py

index 3eccc4d8abfe0ef719f82d7b671a1d73a7ac0679..bd5b19f3dd87e5f2190ed0aac099f2514cd6f68d 100644 (file)
@@ -52,7 +52,7 @@ class Connection(object):
 
                        # Set limits for min/max connections in the pool
                        min_size=8,
-                       max_size=200,
+                       max_size=1024,
 
                        # Give clients up to one minute to retrieve a connection
                        timeout=60,