Skip to content

Commit

Permalink
Fix timeout setting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rainyfly committed Mar 6, 2024
1 parent a843a3c commit 6b127d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llm/fastdeploy_llm/server/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def __init__(self, model_dir):
config.max_prefix_len = int(parse(parameters, "MAX_PREFIX_LEN"))
config.load_environment_variables()

self.wait_time_out = 60
self.wait_time_out = config.inference_response_timeout
self.config = config
self.response_handler = dict()
self.model = None
Expand Down

0 comments on commit 6b127d5

Please sign in to comment.