diff options
| author | Josh Kearney <josh.kearney@rackspace.com> | 2010-11-19 16:01:55 -0600 |
|---|---|---|
| committer | Josh Kearney <josh.kearney@rackspace.com> | 2010-11-19 16:01:55 -0600 |
| commit | 281008b1ce3f92507622d856e0a310690ea37ab3 (patch) | |
| tree | bbadf2b3cfe21412d788c07df7a32156b514644d /nova | |
| parent | 300e6e3517d0e50c7fd6775eff10f1b0d677f25a (diff) | |
Added some comments
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/rpc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/rpc.py b/nova/rpc.py index 0c79c7f76..d9097afaa 100644 --- a/nova/rpc.py +++ b/nova/rpc.py @@ -100,12 +100,12 @@ class Consumer(messaging.Consumer): """Wraps the parent fetch with some logic for failed connections""" try: super(Consumer, self).fetch(no_ack, auto_ack, enable_callbacks) - except: + except: # Catching all because carrot sucks try: self.connection = Connection.recreate() self.backend = self.connection.create_backend() self.declare() - except: + except: # Catching all because carrot sucks logging.warning("AMQP server on %s:%d is unreachable. " \ "Trying again in 30 seconds." % ( FLAGS.rabbit_host, |
