Skip to content

Commit

Permalink
Remove backoff_max and rely on default for now
Browse files Browse the repository at this point in the history
The parameter was introduced in 2.0.0 and while we could add it to
requirements, the default is sensible and we won't need to change it
until it becomes an issue.
  • Loading branch information
Javex committed Sep 27, 2023
1 parent 4fdb4ad commit c94be9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion hotprices_au/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ def get_base_session():
retry = Retry(
total=10,
backoff_factor=1,
backoff_max=60,
status_forcelist=[403],
allowed_methods=['GET', 'POST'],
)
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
requests
beautifulsoup4
urllib3>=2.0.0
beautifulsoup4

0 comments on commit c94be9e

Please sign in to comment.