We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5f0596 commit 9eba43fCopy full SHA for 9eba43f
frameworks/Python/blacksheep/app.py
@@ -16,7 +16,7 @@
16
READ_ROW_SQL = 'SELECT "id", "randomnumber" FROM "world" WHERE id = $1'
17
WRITE_ROW_SQL = 'UPDATE "world" SET "randomnumber"=$1 WHERE id=$2'
18
ADDITIONAL_ROW = [0, "Additional fortune added at request time."]
19
-MAX_CONNECTIONS = 1900
+MAX_CONNECTIONS = 1200
20
CORE_COUNT = multiprocessing.cpu_count()
21
WORKER_PROCESSES = CORE_COUNT
22
MAX_POOL_SIZE = max(1, MAX_CONNECTIONS // WORKER_PROCESSES)
0 commit comments