nickva commented on code in PR #5762:
URL: https://github.com/apache/couchdb/pull/5762#discussion_r2560664629
##########
rel/overlay/etc/default.ini:
##########
@@ -1233,3 +1233,8 @@ url = {{nouveau_url}}
; from the _first_ authentication failure.
; note: changing this setting requires a couchdb restart.
;max_lifetime = 300000
+
+[config]
+; periodically reload configuration from file.
+; Leave undefined to disable this.
+;auto_reload_secs =
Review Comment:
0 could mean that it reloads under 1 second, `infinity` is the more common
value for not having a limit in the config. In erlang it can also work for: 1)
comparisons `999 < infinity = true` and as a sleep value 2)
`timer:sleep(infinity)`
Since we use it in about dozen places could even create an
'config:get_integer_or_infinity/3` API function?
--
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]