Skip to content
Open
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
4 changes: 2 additions & 2 deletions frameworks/Python/cherrypy/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ def fortunes(self):
cherrypy.tools.db = SATool()
cherrypy.server.socket_host = '0.0.0.0'
cherrypy.server.socket_port = 8080
cherrypy.server.thread_pool = workers
cherrypy.server.socket_queue_size = 25
cherrypy.server.thread_pool = workers * 2
cherrypy.server.socket_queue_size = 100

cherrypy.quickstart(CherryPyBenchmark(), '', {
'/': {
Expand Down
25 changes: 1 addition & 24 deletions frameworks/Python/cherrypy/benchmark_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,6 @@
"framework": "cherrypy",
"tests": [{
"default": {
"json_url": "/json",
"db_url": "/db",
"query_url": "/queries?queries=",
"fortune_url": "/fortunes",
"update_url": "/updates?queries=",
"plaintext_url": "/plaintext",
"port": 8080,
"approach": "Realistic",
"classification": "Micro",
"database": "MySQL",
"framework": "None",
"language": "Python",
"flavor": "Python2",
"orm": "Full",
"platform": "None",
"webserver": "None",
"os": "Linux",
"database_os": "Linux",
"display_name": "CherryPy [py2]",
"notes": "CPython 2.7",
"tags": ["broken"]
},
"py3": {
"json_url": "/json",
"db_url": "/db",
"query_url": "/queries?queries=",
Expand All @@ -44,7 +21,7 @@
"os": "Linux",
"database_os": "Linux",
"display_name": "CherryPy",
"notes": "CPython 3.9"
"notes": "CPython 3.13"
}
}]
}
11 changes: 0 additions & 11 deletions frameworks/Python/cherrypy/cherrypy-py3.dockerfile

This file was deleted.

6 changes: 3 additions & 3 deletions frameworks/Python/cherrypy/cherrypy.dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM python:2.7.15-stretch
FROM python:3.13-bullseye

ADD ./ /cherrypy

WORKDIR /cherrypy

RUN pip install -r /cherrypy/requirements.txt
RUN pip3 install -r /cherrypy/requirements.txt

EXPOSE 8080

CMD python app.py
CMD python3 app.py
14 changes: 5 additions & 9 deletions frameworks/Python/cherrypy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
cheroot==8.6.0
CherryPy==17.4.2 ; python_version=='2.7'
CherryPy==18.8.0 ; python_version>'3.5'
more-itertools==4.1.0
mysqlclient==1.3.12
portend==2.2
pytz==2017.3
six==1.11.0
SQLAlchemy==1.4.47
tempora==1.10
mysqlclient==2.2.4
pytz==2024.1
SQLAlchemy==1.4.53
six==1.17.0
legacy-cgi==2.6.4
Loading