Skip to content

Commit 5d8640f

Browse files
committed
Update Poetry to 2.0.
1 parent 28decbd commit 5d8640f

File tree

5 files changed

+94
-76
lines changed

5 files changed

+94
-76
lines changed

clients/database.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
from pandas import DataFrame
55
from pandas.core.groupby.generic import DataFrameGroupBy
66
from sqlalchemy import create_engine
7-
from sqlalchemy.types import DateTime, Integer, String, Text
87
from sqlalchemy.engine import Engine
8+
from sqlalchemy.types import DateTime, Integer, String, Text
99

1010

1111
class Database:
@@ -20,7 +20,7 @@ def __init__(self, uri, table, args=None):
2020
def engine(self) -> Engine:
2121
"""
2222
Database connection engine
23-
23+
2424
:returns: Engine
2525
"""
2626
return create_engine(self.uri, connect_args=self.args)

gunicorn.conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
proc_name = "pythonmyadmin"
1515
wsgi_app = "wsgi:app"
1616
bind = "unix:pythonmyadmin.sock"
17-
threads = 4
18-
workers = 2
17+
threads = 8
18+
workers = 4
1919

2020
if ENVIRONMENT == "development" or ENVIRONMENT is None:
2121
reload = True

0 commit comments

Comments
 (0)