Revision 313b2dd4 lib/constants.py
b/lib/constants.py | ||
---|---|---|
320 | 320 |
LVM_STRIPECOUNT = _autoconf.LVM_STRIPECOUNT |
321 | 321 |
# default maximum instance wait time, in seconds. |
322 | 322 |
DEFAULT_SHUTDOWN_TIMEOUT = 120 |
323 |
|
|
323 |
NODE_MAX_CLOCK_SKEW = 150 |
|
324 | 324 |
|
325 | 325 |
# RPC constants |
326 | 326 |
(RPC_ENCODING_NONE, |
... | ... | |
526 | 526 |
NV_PVLIST = "pvlist" |
527 | 527 |
NV_DRBDLIST = "drbd-list" |
528 | 528 |
NV_NODESETUP = "nodesetup" |
529 |
NV_TIME = "time" |
|
529 | 530 |
|
530 | 531 |
# Allocator framework constants |
531 | 532 |
IALLOCATOR_VERSION = 2 |
... | ... | |
722 | 723 |
# Each request is "salted" by the current timestamp. |
723 | 724 |
# This constants decides how many seconds of skew to accept. |
724 | 725 |
# TODO: make this a default and allow the value to be more configurable |
725 |
CONFD_MAX_CLOCK_SKEW = 300
|
|
726 |
CONFD_MAX_CLOCK_SKEW = 2 * NODE_MAX_CLOCK_SKEW
|
|
726 | 727 |
|
727 | 728 |
# When we haven't reloaded the config for more than this amount of seconds, we |
728 | 729 |
# force a test to see if inotify is betraying us. |
Also available in: Unified diff