jaydoane commented on code in PR #5014:
URL: https://github.com/apache/couchdb/pull/5014#discussion_r1556360572
##########
rel/overlay/etc/default.ini:
##########
@@ -930,3 +930,99 @@ 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 per second. 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 per second at which plugins may open db shard files
+; on a node. The rate is shared across all running plugins.
+;shard_rate_limit = 50
+
+; Limit the rate per second at which plugins open documents. The rate
+; is shared across all running plugins.
+;doc_rate_limit = 1000
+
+[couch_scanner_plugins]
+;couch_scanner_plugin_ddoc_features = false
+;couch_scanner_plugin_find = false
+
+; The following [$plugin*] settings apply to all plugins
+
+;[$plugin]
+; Run plugin on or after this time. The default is to run once after the
+; node starts. Times are in UTC. Possible time formats are:
+; * Unix seconds: 1712338014
+; * Date/Time: YYYY-MM-DDTHH, YYYY-MM-DDTHH:MM, YYYY-MM-DDTHH:MM:SS,
YYYY-MM-DDTHH:MM:SSZ
+;after = restart
+; Run the plugin periodically. By default it will run once after node the node
starts.
+; Possible period formats are:
+; * $num_$timeunit: 1000_sec, 30_min, 8_hours, 24_hour, 2_days, 3_weeks,
1_month
+; * $weekday: mon, monday, Thu, thursdays
+;repeat = restart
+
+;[$plugin.skips_dbs]
+; Skip over databases if their names contain any of the strings in this
section.
+;string1 = true
+;string2 = true
Review Comment:
Yeah, for skipping a lot of different patterns, I agree this is nicer.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]