mirror of
https://github.com/simon987/od-database.git
synced 2025-12-16 08:09:04 +00:00
Decresed number of indexed documents per second
This commit is contained in:
@@ -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 = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user