nickva commented on code in PR #5014: URL: https://github.com/apache/couchdb/pull/5014#discussion_r1554660160
########## rel/overlay/etc/default.ini: ########## @@ -930,3 +930,97 @@ url = {{nouveau_url}} ;max_objects = 10000 ;max_idle = 600000 ;enable = true + +[couch_scanner] +; How often to check for configuration changes and start/stop plugins +;interval_sec = 5 + +; Minimum time to force a plugin to wait before running again after a crash +;min_penalty_sec = 30 + +; Maximum time to force a plugin to wait after repeated crashes (8 hours default) +;max_penalty_sec = 28800 + +; If plugin runs successfully without crashing for this long, reset its +; repeated error count +;heal_threshold_sec = 300 + +; Database processing rate limit. This will also be the rate at which design +; documents are fetched. The rate is shared across all running plugins. +;db_rate_limit = 50 + +; Limits the rate at which plugins may open db shard files on a node. The +; rate is shared across all running plugins. +;shard_rate_limit = 50 Review Comment: If a plugin is only interested in database names it wouldn't open shard at all, it might return `[]` for `shards(...)` callback to indicate that. Then only the db rate would apply. If a plugin uses the shards and just looks at their sizes or doc ids then indicates to `skip` opening the doc, then only db rate and shard open rate would apply but not the doc rate. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org