Skip to content

Commit

Permalink
Wait 60 seconds. --autopull
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-daniels committed Feb 22, 2015
1 parent f5d8eb1 commit e8ee117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bodyfetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def make_api_call_for_site(self, site):
posts = self.queue.pop(site)
url = "http://api.stackexchange.com/2.2/questions/" + ";".join(str(x) for x in posts) + "?site=" + site + "&filter=!4y_-sca-)pfAwlmP_1FxC6e5yzutRIcQvonAiP&key=IAkbitmze4B8KpacUfLqkw(("
# wait to make sure API has/updates post data
time.sleep(30)
time.sleep(60)
response = requests.get(url).json()

GlobalVars.apiquota = response["quota_remaining"]
Expand Down

0 comments on commit e8ee117

Please sign in to comment.