Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frameworks/Python/emmett/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def _serialize(self, row):
app.config.db.user = 'benchmarkdbuser'
app.config.db.password = 'benchmarkdbpass'
app.config.db.database = 'hello_world'
app.config.db.pool_size = 10
app.config.db.pool_size = 16

db = Database(app)
db.define_models(World, Fortune)
Expand Down
4 changes: 2 additions & 2 deletions frameworks/Python/emmett/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
emmett[orjson]>=2.5.12,<2.6.0
psycopg2-binary==2.9.5
emmett[orjson]>=2.6.0,<2.7.0
psycopg2-binary==2.9.9
4 changes: 2 additions & 2 deletions frameworks/Python/emmett/run.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import multiprocessing

from emmett.server import run
from emmett_core.server import run


if __name__ == "__main__":
workers = round(multiprocessing.cpu_count() / 2)
workers = multiprocessing.cpu_count()

run(
"rsgi",
Expand Down
Loading