We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab4d894 commit 4003bcdCopy full SHA for 4003bcd
zulip/zulip/__init__.py
@@ -665,10 +665,8 @@ def end_error_retry(succeeded: bool) -> None:
665
wait_time = float(res.json().get("retry-after", res.headers.get("Retry-After", 1.0)))
666
except Exception:
667
wait_time = 1.0
668
-
669
if self.verbose:
670
print(f"Rate limit hit! Sleeping for {wait_time} seconds before retrying...")
671
672
time.sleep(wait_time)
673
continue
674
0 commit comments