Skip to content

Commit

Permalink
fix: passing timeout values to ConnectionManager (#578)
Browse files Browse the repository at this point in the history
* fix: passing timeout values to ConnectionManager

* fix linting

---------

Co-authored-by: Ilja Stakanovs <[email protected]>
  • Loading branch information
cnvrtr and Ilja Stakanovs authored Jul 11, 2024
1 parent 0184e03 commit 7bdd546
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pre-commit install --install-hooks -t pre-commit -t pre-push -t commit-msg

1. Fork this repository, develop and test your changes
2. Make sure that your changes do not decrease the test coverage
3. Make sure you're commits follow the conventional commits
3. Make sure your commits follow the conventional commits
4. Submit a pull request

## How to release
Expand Down
5 changes: 4 additions & 1 deletion src/keycloak/openid_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ def __init__(
self.headers = {**self.headers, "Content-Type": "application/json"}

super().__init__(
base_url=self.server_url, headers=self.headers, timeout=60, verify=self.verify
base_url=self.server_url,
headers=self.headers,
timeout=self.timeout,
verify=self.verify,
)

@property
Expand Down

0 comments on commit 7bdd546

Please sign in to comment.