Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Reduce advertise interval to 3 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
blampe committed Mar 29, 2016
1 parent fdd359e commit 143e4a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.rst
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion tchannel/tornado/hyperbahn.py
Expand Up @@ -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')
Expand Down

0 comments on commit 143e4a7

Please sign in to comment.