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 8206e53 commit 003fb04Copy full SHA for 003fb04
bodyfetcher.py
@@ -75,6 +75,8 @@ def make_api_call_for_site(self, site):
75
return # could add some retrying logic here, but eh.
76
77
if "quota_remaining" in response:
78
+ if response["quota_remaining"] > GlobalVars.apiquota:
79
+ GlobalVars.charcoal_hq.send_message("API quota rolled over with {} requests remaining.".format(GlobalVars.apiquota))
80
GlobalVars.apiquota = response["quota_remaining"]
81
else:
82
GlobalVars.apiquota = 0
0 commit comments