mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-13 23:29:02 +00:00
added timeout to import and sync es
This commit is contained in:
@@ -22,7 +22,7 @@ bar = progressbar.ProgressBar(
|
||||
' (', progressbar.ETA(), ') ',
|
||||
])
|
||||
|
||||
es = Elasticsearch()
|
||||
es = Elasticsearch(timeout=30)
|
||||
ic = IndicesClient(es)
|
||||
|
||||
# turn into thing that elasticsearch indexes. We flatten in
|
||||
|
||||
Reference in New Issue
Block a user