mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #552 from omnivore-app/fix/es-request-size
Fix batch_size=500 to avoid exceeding max memory limit and requests_p…
This commit is contained in:
commit
63b64f8072
1 changed files with 1 additions and 2 deletions
|
|
@ -134,8 +134,7 @@ log('Starting adding default state to pages in elasticsearch...')
|
|||
esClient
|
||||
.update_by_query({
|
||||
index: INDEX_ALIAS,
|
||||
requests_per_second: 5,
|
||||
scroll: '30s',
|
||||
requests_per_second: 250,
|
||||
scroll_size: 500,
|
||||
timeout: '30m',
|
||||
body: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue