mirror of
https://github.com/simon987/od-database.git
synced 2025-04-20 19:06:42 +00:00
Increased delete_docs timeout value
This commit is contained in:
parent
290322dfa7
commit
c0327fecda
@ -105,10 +105,10 @@ class ElasticSearchEngine(SearchEngine):
|
||||
}
|
||||
}
|
||||
}
|
||||
}, index=self.index_name, request_timeout=40)
|
||||
}, index=self.index_name, request_timeout=200)
|
||||
except elasticsearch.exceptions.ConflictError:
|
||||
print("Error: multiple delete tasks at the same time")
|
||||
except elasticsearch.exceptions.ConnectionTimeout:
|
||||
except Exception:
|
||||
print("Timeout during delete!")
|
||||
time.sleep(30)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user