Skip to content

Commit

Permalink
Merge pull request #284 from allenai/incrTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
stupendousC authored Aug 30, 2024
2 parents 456f804 + 08aba73 commit 893bf67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ use patch releases for compatibility fixes instead.

## Unreleased

- Increased Beaker.from_env() default timeout from 5s to 30s

## [v1.31.2](https://github.com/allenai/beaker-py/releases/tag/v1.31.2) - 2024-07-26

### Added
Expand Down
2 changes: 1 addition & 1 deletion beaker/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def _check_for_upgrades(self):
def from_env(
cls,
check_for_upgrades: bool = True,
timeout: Optional[Union[float, Tuple[float, float]]] = 5.0,
timeout: Optional[Union[float, Tuple[float, float]]] = 30.0,
session: Optional[Union[bool, requests.Session]] = None,
pool_maxsize: Optional[int] = None,
user_agent: str = f"beaker-py v{VERSION}",
Expand Down

0 comments on commit 893bf67

Please sign in to comment.