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:
Jackson Harper 2022-05-05 09:17:58 -07:00 committed by GitHub
commit 63b64f8072
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: {