Skip to content

Commit

Permalink
Fix timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
kaithar committed Mar 6, 2018
1 parent d625dd4 commit 57e1fb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion muhubot/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def _connect(self):
qsock.set(zmq.LINGER, 1)
qsock.connect(self.endpoint.format("5141"))
qsock.send(b'')
if qsock.poll(timeout=1000):
if qsock.poll(timeout=10000):
port = int(qsock.recv())
self.log("Got port {}".format(port))
qsock.close()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
setup(
name="muhubot",
version="0.0.2",
version="0.0.3",
packages=find_packages(include=['muhubot']),
namespace_packages=['muhubot']
)

0 comments on commit 57e1fb2

Please sign in to comment.