Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
5b753911
Commit
5b753911
authored
May 26, 2011
by
Georgios Gousios
Browse files
Survive server restarts
parent
2589bb1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
logic/dispatcher.py
View file @
5b753911
...
...
@@ -48,6 +48,9 @@ class Dispatcher:
self
.
chan
.
wait
()
except
SystemExit
:
break
except
amqp
.
exceptions
.
AMQPConnectionException
:
self
.
logger
.
error
(
"Server went away, reconnecting..."
)
self
.
_init
()
except
socket
.
error
:
self
.
logger
.
error
(
"Server went away, reconnecting..."
)
self
.
_init
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment