Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
python: Replace deprecated urllib3 BACKOFF_MAX.
Anders Kaseorg5fb935bf604c
diff --git a/tools/fetch-contributor-data b/tools/fetch-contributor-dataindex 63d615cff25..cefc798a357 100755--- a/tools/fetch-contributor-data+++ b/tools/fetch-contributor-data@@ -67,7 +67,7 @@ def fetch_contributors(repo_name: str, max_retries: int) -> List[Contributor]:if personal_access_token is not None:headers = {"Authorization": f"token {personal_access_token}"}- Retry.BACKOFF_MAX = 64+ Retry.DEFAULT_BACKOFF_MAX = 64retry = Retry(total=max_retries,backoff_factor=2.0,diff --git a/zerver/management/commands/fetch_tor_exit_nodes.py b/zerver/management/commands/fetch_tor_exit_nodes.pyindex 7687236ef45..3c23233a922 100644--- a/zerver/management/commands/fetch_tor_exit_nodes.py+++ b/zerver/management/commands/fetch_tor_exit_nodes.py@@ -12,7 +12,7 @@ from zerver.lib.outgoing_http import OutgoingSessionclass TorDataSession(OutgoingSession):def __init__(self, max_retries: int) -> None:- Retry.BACKOFF_MAX = 64+ Retry.DEFAULT_BACKOFF_MAX = 64retry = Retry(total=max_retries,backoff_factor=2.0,