Skip to content

Commit c9adbfe

Browse files
committed
[Python] Falcon: Rename server FastWSGI to FastPySGI
1 parent 25e6700 commit c9adbfe

6 files changed

Lines changed: 14 additions & 15 deletions

File tree

frameworks/Python/falcon/app.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,12 @@ def run_app():
168168
response_add_date = True
169169
bjoern.run(app, host=opt.host, port=opt.port, reuse_port=True)
170170

171-
if opt.server == 'fastwsgi':
172-
import fastwsgi
173-
response_server = "FastWSGI"
171+
if opt.server == 'fastpysgi':
172+
import fastpysgi
173+
response_server = "FastPySGI"
174174
response_add_date = False
175-
fastwsgi.server.backlog = 4096
176-
fastwsgi.run(app, host=opt.host, port=opt.port, loglevel=opt.verbose)
175+
fastpysgi.server.backlog = 4096
176+
fastpysgi.run(app, host=opt.host, port=opt.port, loglevel=opt.verbose)
177177

178178
if opt.server == 'socketify':
179179
import socketify

frameworks/Python/falcon/benchmark_config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
"notes": "",
195195
"versus": "uvicorn"
196196
},
197-
"fastwsgi": {
197+
"fastpysgi": {
198198
"json_url": "/json",
199199
"db_url": "/db",
200200
"query_url": "/queries/",
@@ -210,10 +210,10 @@
210210
"flavor": "Python3",
211211
"orm": "Full",
212212
"platform": "WSGI",
213-
"webserver": "FastWSGI",
213+
"webserver": "FastPySGI",
214214
"os": "Linux",
215215
"database_os": "Linux",
216-
"display_name": "Falcon [FastWSGI]",
216+
"display_name": "Falcon [FastPySGI]",
217217
"notes": "",
218218
"versus": "wsgi"
219219
}

frameworks/Python/falcon/config.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ display.name = "Falcon [ASGI/Tortoise]"
194194
notes = ""
195195
versus = "uvicorn"
196196

197-
[fastwsgi]
197+
[fastpysgi]
198198
json.url = "/json"
199199
db.url = "/db"
200200
query.url = "/queries/"
@@ -210,9 +210,9 @@ language = "Python"
210210
flavor = "Python3"
211211
orm = "Full"
212212
platform = "WSGI"
213-
webserver = "FastWSGI"
213+
webserver = "FastPySGI"
214214
os = "Linux"
215215
database.os = "Linux"
216-
display.name = "Falcon [FastWSGI]"
216+
display.name = "Falcon [FastPySGI]"
217217
notes = ""
218218
versus = "wsgi"

frameworks/Python/falcon/falcon-fastwsgi.dockerfile renamed to frameworks/Python/falcon/falcon-fastpysgi.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ WORKDIR /falcon
55
COPY ./ /falcon
66
RUN pip3 install -U pip
77
RUN pip3 install -r /falcon/requirements.txt
8-
RUN pip3 install -r /falcon/requirements-fastwsgi.txt
8+
RUN pip3 install -r /falcon/requirements-fastpysgi.txt
99
RUN pip3 install -r /falcon/requirements-db-pony.txt
1010

1111
EXPOSE 8080
1212

13-
CMD ["python3", "app.py", "-s", "fastwsgi"]
13+
CMD ["python3", "app.py", "-s", "fastpysgi"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fastpysgi==0.3

frameworks/Python/falcon/requirements-fastwsgi.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)