Revision 84c3ab28 lib/constants.py
b/lib/constants.py | ||
---|---|---|
670 | 670 |
# This constants decides how many seconds of skew to accept. |
671 | 671 |
# TODO: make this a default and allow the value to be more configurable |
672 | 672 |
CONFD_MAX_CLOCK_SKEW = 300 |
673 |
|
|
674 |
# When we haven't reloaded the config for more than this amount of seconds, we |
|
675 |
# force a test to see if inotify is betraying us. |
|
676 |
CONFD_CONFIG_RELOAD_TIMEOUT = 60 |
|
677 |
|
|
678 |
# If we receive more than one update in this amount of seconds, we move to |
|
679 |
# polling every RATELIMIT seconds, rather than relying on inotify, to be able |
|
680 |
# to serve more requests. |
|
681 |
CONFD_CONFIG_RELOAD_RATELIMIT = 2 |
Also available in: Unified diff