diff --git a/tooz/coordination.py b/tooz/coordination.py index f1187925..332764e2 100755 --- a/tooz/coordination.py +++ b/tooz/coordination.py @@ -636,7 +636,7 @@ class CoordAsyncResult(object): """ @abc.abstractmethod - def get(self, timeout=10): + def get(self, timeout=None): """Retrieve the result of the corresponding asynchronous call. :param timeout: block until the timeout expire. diff --git a/tooz/drivers/zookeeper.py b/tooz/drivers/zookeeper.py index 52f151ed..e033c054 100644 --- a/tooz/drivers/zookeeper.py +++ b/tooz/drivers/zookeeper.py @@ -540,7 +540,7 @@ class ZooAsyncResult(coordination.CoordAsyncResult): self._handler = handler self._kwargs = kwargs - def get(self, timeout=10): + def get(self, timeout=None): return self._handler(self._kazoo_async_result, timeout, **self._kwargs) def done(self):