Skip to content

Commit

Permalink
update benchmarking script
Browse files Browse the repository at this point in the history
Signed-off-by: Praneeth Bedapudi <[email protected]>
  • Loading branch information
bedapudi6788 committed Oct 30, 2024
1 parent c73ab7a commit 50abf95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions fastdeploy/_rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,7 @@ def on_post(self, req, resp):
if success:
resp.status = falcon.HTTP_200
else:
if response["reason"] == "timeout":
resp.status = falcon.HTTP_408
else:
resp.status = falcon.HTTP_500
resp.status = falcon.HTTP_500

if input_type == "json":
resp.media = response
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
EMAIL = "[email protected]"
AUTHOR = "BEDAPUDI PRANEETH"
REQUIRES_PYTHON = ">=3.6.0"
VERSION = "3.0.25"
VERSION = "3.0.26"

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

0 comments on commit 50abf95

Please sign in to comment.