From 143e4a72772a62c45688779b651f5e1ac56d9ffa Mon Sep 17 00:00:00 2001 From: Bryce Lampe Date: Tue, 29 Mar 2016 15:03:04 -0700 Subject: [PATCH] Reduce advertise interval to 3 minutes --- CHANGES.rst | 1 + tchannel/tornado/hyperbahn.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index bf9a969c..51160c1e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -8,6 +8,7 @@ Changes by Version TimeoutErrors. - Attempting to register endpoints against a synchronous TChannel now logs an INFO level message. +- Reduced default advertisement interval to 3 minutes. 0.21.10 (2016-03-17) diff --git a/tchannel/tornado/hyperbahn.py b/tchannel/tornado/hyperbahn.py index bb1edd97..3e694396 100644 --- a/tchannel/tornado/hyperbahn.py +++ b/tchannel/tornado/hyperbahn.py @@ -34,7 +34,7 @@ EXPO_BASE = 1.4 # try this first MAX_DELAY = 10 # sec MAX_ATTEMPT = 7 # pow(1.4, 8) > 10 -DELAY = 60 * 1000 # ms delay time for successful advertise +DELAY = 3 * 60 * 1000 # ms delay time for successful advertise FIRST_ADVERTISE_TIME = 30 # sec log = logging.getLogger('tchannel')