Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to configure max retries for v1.1 server errors #670

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 29, 2022

  1. Add ability to configure max retries for v1.1 server errors

    Given the increasing instability of the v1.1 API, it's helpful to be
    able to tune the number of retries for server errors.
    
    - Adds max_server_error_retries param to the v1.1 client retaining old
      value of 30 as default value
    - Pass max_server_error_retries through the rate_limit decorator
    - Pass max_server_error_retries through uses of Twarc.get() in client.py
    betsybookwyrm committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    f06b70e View commit details
    Browse the repository at this point in the history