Skip to content
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

zookeeper check opens sockets without setting a timeout #310

Closed
xcolour opened this issue Dec 20, 2012 · 1 comment
Closed

zookeeper check opens sockets without setting a timeout #310

xcolour opened this issue Dec 20, 2012 · 1 comment
Assignees
Labels
Milestone

Comments

@xcolour
Copy link
Contributor

xcolour commented Dec 20, 2012

python's default timeout is no timeout, so it needs to be set explicitly when creating a socket.

https://github.com/DataDog/dd-agent/blob/master/checks.d/zk.py#L41

so:

  1. set a default timeout when the zookeeper check makes socket connections
  2. for bonus points, make the timeout configurable in datadog.conf (customer request)
@ghost ghost assigned clofresh Dec 20, 2012
@clofresh
Copy link
Contributor

Ack, rookie mistake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants