diff options
author | Charles-Henri de Boysson <ceache@users.noreply.github.com> | 2020-06-24 00:53:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-24 00:53:31 -0400 |
commit | 699425140dce6427a4283180748864cf89d9de0a (patch) | |
tree | 9a60bd6978896a6b64243abe2f5101fbaaa9f834 | |
parent | bb475843905af1a2d25b1f5834085c85c28bb175 (diff) | |
parent | 4e86132b49c84c7805c04677ce2aaf1f00bff713 (diff) | |
download | kazoo-699425140dce6427a4283180748864cf89d9de0a.tar.gz |
Merge branch 'master' into feat/build_coverage
-rw-r--r-- | kazoo/handlers/threading.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kazoo/handlers/threading.py b/kazoo/handlers/threading.py index 1ab3349..2192523 100644 --- a/kazoo/handlers/threading.py +++ b/kazoo/handlers/threading.py @@ -178,7 +178,7 @@ class SequentialThreadingHandler(object): # anything to minimize changes if _HAS_EPOLL: # if the highest fd we've seen is > 1023 - if max(map(_to_fileno, chain(*args[:3]))) > 1023: + if max(map(_to_fileno, chain.from_iterable(args[:3]))) > 1023: return self._epoll_select(*args, **kwargs) return self._select(*args, **kwargs) |