File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ def _serialize(self, row):
3232app .config .db .user = 'benchmarkdbuser'
3333app .config .db .password = 'benchmarkdbpass'
3434app .config .db .database = 'hello_world'
35- app .config .db .pool_size = 10
35+ app .config .db .pool_size = 16
3636
3737db = Database (app )
3838db .define_models (World , Fortune )
Original file line number Diff line number Diff line change 1- emmett [orjson ]>= 2.5.12 ,< 2.6 .0
2- psycopg2-binary == 2.9.5
1+ emmett [orjson ]>= 2.6.0 ,< 2.7 .0
2+ psycopg2-binary == 2.9.9
Original file line number Diff line number Diff line change 11import multiprocessing
22
3- from emmett .server import run
3+ from emmett_core .server import run
44
55
66if __name__ == "__main__" :
7- workers = round ( multiprocessing .cpu_count () / 2 )
7+ workers = multiprocessing .cpu_count ()
88
99 run (
1010 "rsgi" ,
You can’t perform that action at this time.
0 commit comments