Skip to content

Commit 2f858b0

Browse files
authored
chore: update robyn (#9340)
1 parent 25b97fd commit 2f858b0

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

frameworks/Python/robyn/app-const.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
class SpecialConfig(Config):
99
def __init__(self):
1010
super().__init__()
11-
self.workers = (os.cpu_count() * 2) + 1
12-
self.processes = os.cpu_count()
11+
self.workers = 2
12+
self.processes = ( os.cpu_count() * 2 ) + 1
1313
self.log_level = "WARN"
1414

1515

frameworks/Python/robyn/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
class SpecialConfig(Config):
99
def __init__(self):
1010
super().__init__()
11-
self.workers = (os.cpu_count() * 2) + 1
12-
self.processes = os.cpu_count()
11+
self.workers = 2
12+
self.processes = ( os.cpu_count() * 2 ) + 1
1313
self.log_level = "WARN"
1414

1515

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
uvloop==0.19.0
2-
robyn==0.60.2
2+
robyn==0.62.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
uvloop==0.19.0
2-
robyn==0.60.2
2+
robyn==0.62.0

frameworks/Python/robyn/robyn-const.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ RUN pip3 install -r /robyn/requirements-const.txt
88

99
EXPOSE 8080
1010

11-
CMD ["robyn", "app-const.py", "--fast"]
11+
CMD ["python", "app-const.py", "--log-level", "warn"]

frameworks/Python/robyn/robyn.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ RUN pip3 install -r /robyn/requirements.txt
88

99
EXPOSE 8080
1010

11-
CMD ["robyn", "app.py", "--fast"]
11+
CMD ["python", "app.py", "--log-level", "warn"]

0 commit comments

Comments
 (0)