diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-10 17:45:16 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-10 17:45:16 +0100 |
| commit | b06333fcb7f5dbd40cf604eb26cf3e56ff7cc479 (patch) | |
| tree | 8699739f6104b9927f3b6df23784cc15b3f19c90 | |
| parent | bf2d1e6396bfc1b8b6a910d39d4d0ec8fc4bf759 (diff) | |
| download | apigrabber-b06333fcb7f5dbd40cf604eb26cf3e56ff7cc479.tar.gz apigrabber-b06333fcb7f5dbd40cf604eb26cf3e56ff7cc479.zip | |
sleep less after ratelimit
| -rw-r--r-- | crawler.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ class Crawler(object): json.decoder.JSONDecodeError) as err: # API bug? logging.error("API error '%s', retrying", err) - await asyncio.sleep(10) + await asyncio.sleep(5) async def matches(self, params, region="na"): """Queries the API for matches and their related data. |
