Registration Retry / Interval (#1651)

* Change the default ttl to 90 seconds

* add retries to registration

* Add retry to web register
This commit is contained in:
Asim Aslam
2020-05-20 11:49:09 +01:00
committed by GitHub
parent e61edf6280
commit a29676b86a
5 changed files with 76 additions and 19 deletions

View File

@@ -31,7 +31,7 @@ var (
DefaultAddress = ":0"
// for registration
DefaultRegisterTTL = time.Minute
DefaultRegisterTTL = time.Second * 90
DefaultRegisterInterval = time.Second * 30
// static directory