Skip to content

Commit

Permalink
Reduce number of request retries from 8 to 5 (stanford-crfm#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanmai authored Jun 23, 2023
1 parent 95ceb64 commit e2ab6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helm/proxy/retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ def retry_if_request_failed(result: Union[RequestResult, TokenizationRequestResu


retry_request: Callable = get_retry_decorator(
"Request", max_attempts=8, wait_exponential_multiplier_seconds=5, retry_on_result=retry_if_request_failed
"Request", max_attempts=5, wait_exponential_multiplier_seconds=5, retry_on_result=retry_if_request_failed
)

0 comments on commit e2ab6c2

Please sign in to comment.