replaced requests by pycurl

This commit is contained in:
Simon
2018-08-23 11:47:09 -04:00
parent 8f218f3c9d
commit 85c3aa918d
3 changed files with 72 additions and 28 deletions

View File

@@ -127,7 +127,7 @@ class ElasticSearchEngine(SearchEngine):
def import_json(self, in_lines, website_id: int):
import_every = 400
cooldown_time = 0.6
cooldown_time = 0
docs = []