Merge pull request #550 from omnivore-app/fix/es_rejected_execution_exception
Reduce requests per second and scroll_size
This commit is contained in:
@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user