satellite/metainfo: reduce lookupLimit default to 2500

Change-Id: I6569c6d1f145b127a9e8e1a65e4344dd62c989bb
This commit is contained in:
Natalie Villasana 2020-09-01 12:03:31 -04:00
parent b872fe52a1
commit 95ff29cce1
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ func (observer *observerContext) Wait() error {
type LoopConfig struct {
CoalesceDuration time.Duration `help:"how long to wait for new observers before starting iteration" releaseDefault:"5s" devDefault:"5s"`
RateLimit float64 `help:"rate limit (default is 0 which is unlimited segments per second)" default:"0"`
ListLimit int `help:"how many items to query in a batch" default:"10000"`
ListLimit int `help:"how many items to query in a batch" default:"2500"`
}
// Loop is a metainfo loop service.

2
scripts/testdata/satellite-config.yaml.lock vendored Normal file → Executable file
View File

@ -320,7 +320,7 @@ identity.key-path: /root/.local/share/storj/identity/satellite/identity.key
# metainfo.loop.coalesce-duration: 5s
# how many items to query in a batch
# metainfo.loop.list-limit: 10000
# metainfo.loop.list-limit: 2500
# rate limit (default is 0 which is unlimited segments per second)
# metainfo.loop.rate-limit: 0