mirror of
https://github.com/bellingcat/sugartrail.git
synced 2026-06-08 03:28:31 +03:00
Update api.py
This commit is contained in:
@@ -31,7 +31,7 @@ def test():
|
||||
|
||||
# Companies House API allows 600 requests every 5 mins
|
||||
@sleep_and_retry
|
||||
@limits(calls=120, period=60)
|
||||
@limits(calls=1, period=0.6)
|
||||
def make_request(url, input, input_type, response_type):
|
||||
"""Query Companies House API."""
|
||||
# time.sleep(0.5)
|
||||
|
||||
Reference in New Issue
Block a user