diff options
author | Ben Bangert <ben@groovie.org> | 2012-08-07 11:22:12 -0700 |
---|---|---|
committer | Ben Bangert <ben@groovie.org> | 2012-08-07 11:22:12 -0700 |
commit | 2424d5afa34b89a99e5f17010e878298435cca86 (patch) | |
tree | 9365ab7f0a7a98819f627898a6ef9aca03022d01 /kazoo/recipe/watchers.py | |
parent | 3bd7c2b9cfd95f5d5c374999794f75516db395b3 (diff) | |
download | kazoo-2424d5afa34b89a99e5f17010e878298435cca86.tar.gz |
Fix similar session listener blocking in ChildrenWatch.
Diffstat (limited to 'kazoo/recipe/watchers.py')
-rw-r--r-- | kazoo/recipe/watchers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kazoo/recipe/watchers.py b/kazoo/recipe/watchers.py index 481ffa6..c9bde92 100644 --- a/kazoo/recipe/watchers.py +++ b/kazoo/recipe/watchers.py @@ -243,7 +243,7 @@ class ChildrenWatch(object): self._watch_established = False elif state == KazooState.CONNECTED and \ not self._watch_established and not self._stopped: - self._get_children() + self._client.handler.spawn(self._get_children) class PatientChildrenWatch(object): |