Reduce requests per second and scroll_size

This commit is contained in:
Hongbo Wu 2022-05-05 12:40:44 +08:00
parent ee8cae75cc
commit 911afd77e5

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