Skip to content

Commit 50abf95

Browse files
committed
update benchmarking script
Signed-off-by: Praneeth Bedapudi <[email protected]>
1 parent c73ab7a commit 50abf95

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Diff for: fastdeploy/_rest.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,7 @@ def on_post(self, req, resp):
151151
if success:
152152
resp.status = falcon.HTTP_200
153153
else:
154-
if response["reason"] == "timeout":
155-
resp.status = falcon.HTTP_408
156-
else:
157-
resp.status = falcon.HTTP_500
154+
resp.status = falcon.HTTP_500
158155

159156
if input_type == "json":
160157
resp.media = response

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
AUTHOR = "BEDAPUDI PRANEETH"
2020
REQUIRES_PYTHON = ">=3.6.0"
21-
VERSION = "3.0.25"
21+
VERSION = "3.0.26"
2222

2323
# What packages are required for this module to be executed?
2424
REQUIRED = ["falcon", "liteindex==0.0.3.2.dev4", "zstandard", "gunicorn[gevent]", "msgpack"]

0 commit comments

Comments
 (0)