Revision e4ccf6cd lib/constants.py

b/lib/constants.py
688 688
# compressed, or move away from json.
689 689
CONFD_MAGIC_FOURCC = 'plj0'
690 690

  
691
# By default a confd request is sent to the minimum between this number and all
692
# MCs. 6 was chosen because even in the case of a disastrous 50% response rate,
693
# we should have enough answers to be able to compare more than one.
694
CONFD_DEFAULT_REQ_COVERAGE = 6
695

  
696
# Timeout in seconds to expire pending query request in the confd client
697
# library. We don't actually expect any answer more than 10 seconds after we
698
# sent a request.
699
CONFD_CLIENT_EXPIRE_TIMEOUT = 10
700

  
691 701
# Maximum UDP datagram size.
692 702
# On IPv4: 64K - 20 (ip header size) - 8 (udp header size) = 65507
693 703
# On IPv6: 64K - 40 (ip6 header size) - 8 (udp header size) = 65487

Also available in: Unified diff