Revision a3758ab2 lib/constants.py
b/lib/constants.py | ||
---|---|---|
682 | 682 |
# to serve more requests. |
683 | 683 |
CONFD_CONFIG_RELOAD_RATELIMIT = 2 |
684 | 684 |
|
685 |
# Magic number prepended to all confd queries. |
|
686 |
# This allows us to distinguish different types of confd protocols and handle |
|
687 |
# them. For example by changing this we can move the whole payload to be |
|
688 |
# compressed, or move away from json. |
|
689 |
CONFD_MAGIC_FOURCC = 'plj0' |
|
690 |
|
|
685 | 691 |
# Maximum UDP datagram size. |
686 | 692 |
# On IPv4: 64K - 20 (ip header size) - 8 (udp header size) = 65507 |
687 | 693 |
# On IPv6: 64K - 40 (ip6 header size) - 8 (udp header size) = 65487 |
Also available in: Unified diff