Skip to content
Snippets Groups Projects
Commit f42aec50 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

heh travis rmq

parent 8a2918a8
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,7 @@ class SingleNodeReconnector(object): ...@@ -43,6 +43,7 @@ class SingleNodeReconnector(object):
def shutdown(self): def shutdown(self):
"""Close this connection""" """Close this connection"""
self.terminating = True self.terminating = True
if self.connection is not None: if self.connection is not None:
self.connection.send(None) self.connection.send(None)
self.connection = None self.connection = None
...@@ -7,7 +7,7 @@ from coolamqp.clustering import Cluster ...@@ -7,7 +7,7 @@ from coolamqp.clustering import Cluster
import time import time
NODE = NodeDefinition('127.0.0.1', 'user', 'user', heartbeat=20) NODE = NodeDefinition('127.0.0.1', 'guest', 'guest', heartbeat=20)
logging.basicConfig(level=logging.DEBUG) logging.basicConfig(level=logging.DEBUG)
if __name__ == '__main__': if __name__ == '__main__':
......
...@@ -11,8 +11,8 @@ from coolamqp.clustering import Cluster ...@@ -11,8 +11,8 @@ from coolamqp.clustering import Cluster
import time import time
#todo handle bad auth
NODE = NodeDefinition('127.0.0.1', 'user', 'user', heartbeat=20) NODE = NodeDefinition('127.0.0.1', 'guest', 'guest', heartbeat=20)
logging.basicConfig(level=logging.DEBUG) logging.basicConfig(level=logging.DEBUG)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment