mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Tune the update speed
This commit is contained in:
parent
ba09b4c803
commit
cd9c6a40d9
1 changed files with 3 additions and 0 deletions
|
|
@ -133,6 +133,9 @@ log('Starting adding default state to pages in elasticsearch...')
|
|||
esClient
|
||||
.update_by_query({
|
||||
index: INDEX_ALIAS,
|
||||
requests_per_second: 10,
|
||||
scroll: '30s',
|
||||
scroll_size: 500,
|
||||
body: {
|
||||
script: {
|
||||
source: 'ctx._source.state = params.state',
|
||||
|
|
|
|||
Loading…
Reference in a new issue