Skip to content

Commit

Permalink
set default batch timeout to 1 ms (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
aniketmaurya authored Aug 27, 2024
1 parent 2bfebcb commit 6c49137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/litserve/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def __init__(
workers_per_device: int = 1,
timeout: Union[float, bool] = 30,
max_batch_size: int = 1,
batch_timeout: float = 0.0,
batch_timeout: float = 0.001,
api_path: str = "/predict",
stream: bool = False,
spec: Optional[LitSpec] = None,
Expand Down

0 comments on commit 6c49137

Please sign in to comment.