[svn] commit: r3182 - /branches/trac216/src/bin/xfrin/xfrin.py.in
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Oct 12 09:05:06 UTC 2010
Author: shentingting
Date: Tue Oct 12 09:05:06 2010
New Revision: 3182
Log:
add a DEFAULT_TRANSFERS_IN to remove hardcoding
Modified:
branches/trac216/src/bin/xfrin/xfrin.py.in
Modified: branches/trac216/src/bin/xfrin/xfrin.py.in
==============================================================================
--- branches/trac216/src/bin/xfrin/xfrin.py.in (original)
+++ branches/trac216/src/bin/xfrin/xfrin.py.in Tue Oct 12 09:05:06 2010
@@ -58,6 +58,7 @@
ZONE_MANAGER_MODULE_NAME = 'Zonemgr'
REFRESH_FROM_ZONEMGR = 'refresh_from_zonemgr'
ZONE_XFRIN_FAILED = 'zone_xfrin_failed'
+DEFAULT_TRANSFERS_IN = 10
__version__ = 'BIND10'
# define xfrin rcode
XFRIN_OK = 0
@@ -377,7 +378,7 @@
class Xfrin:
def __init__(self, verbose = False):
- self._max_transfers_in = 10
+ self._max_transfers_in = DEFAULT_TRANSFERS_IN
self._master_addr = DEFAULT_MASTER
self._master_port = DEFAULT_MASTER_PORT
self._cc_setup()
More information about the bind10-changes
mailing list