Skip to content

Commit f10963b

Browse files
authored
rollback
1 parent c291210 commit f10963b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

frameworks/Python/blacksheep/app-socketify.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@
1212
READ_ROW_SQL = 'SELECT "id", "randomnumber" FROM "world" WHERE id = %s'
1313
WRITE_ROW_SQL = 'UPDATE "world" SET "randomnumber"=%s WHERE id=%s'
1414
ADDITIONAL_ROW = [0, "Additional fortune added at request time."]
15-
MAX_CONNECTIONS = 200
1615
CORE_COUNT = multiprocessing.cpu_count()
1716

18-
MAX_POOL_SIZE = (MAX_CONNECTIONS // CORE_COUNT)
17+
MAX_POOL_SIZE = CORE_COUNT * 2
1918
MIN_POOL_SIZE = max(1, MAX_POOL_SIZE // 2)
2019
db_pool = None
2120

0 commit comments

Comments
 (0)