Decresed number of indexed documents per second

This commit is contained in:
Simon
2018-08-12 14:58:27 -04:00
parent cc4c70f400
commit edede200f4
3 changed files with 60 additions and 2 deletions

View File

@@ -125,8 +125,8 @@ class ElasticSearchEngine(SearchEngine):
def import_json(self, in_lines, website_id: int):
import_every = 1000
cooldown_time = 1
import_every = 400
cooldown_time = 0.6
docs = []