-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #37 | Configure consul timeouts #44
Conversation
1678785
to
8e143dc
Compare
@@ -85,6 +85,11 @@ func (a *ConcurrentAgents) createAgent(host string) (*consulapi.Client, error) { | |||
config.Scheme = "https" | |||
} | |||
|
|||
if a.config.Timeout != 0 { | |||
log.Debugf("Seting timeout to %s", a.config.Timeout.String()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo Seting -> Setting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
8e143dc
to
09d1411
Compare
@@ -70,6 +70,7 @@ consul-ssl-cert | | Path to an SSL client certifica | |||
consul-ssl-verify | `true` | Verify certificates when connecting via SSL | |||
consul-token | | The Consul ACL token | |||
consul-tag | `marathon` | Common tag name added to every service registered in Consul, should be unique for every Marathon-cluster connected to Consul | |||
consul-timeout | `1 s` | Max request duration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 s
=> 1s
(no space)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
9e81370
to
27f2060
Compare
27f2060
to
853a87c
Compare
👍 |
Fixes #37 | Configure consul timeouts
No description provided.