Merge pull request #550 from omnivore-app/fix/es_rejected_execution_exception

Reduce requests per second and scroll_size
This commit is contained in:
Hongbo Wu
2022-05-05 12:43:20 +08:00
committed by GitHub

View File

@ -133,9 +133,9 @@ log('Starting adding default state to pages in elasticsearch...')
esClient
.update_by_query({
index: INDEX_ALIAS,
requests_per_second: 10,
requests_per_second: 5,
scroll: '30s',
scroll_size: 1000,
scroll_size: 500,
timeout: '30m',
body: {
script: {