projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Set node to run on label docker"
[osm/MON.git]
/
osm_mon
/
core
/
message_bus
/
common_consumer.py
diff --git
a/osm_mon/core/message_bus/common_consumer.py
b/osm_mon/core/message_bus/common_consumer.py
index
85e679f
..
3e1f745
100755
(executable)
--- a/
osm_mon/core/message_bus/common_consumer.py
+++ b/
osm_mon/core/message_bus/common_consumer.py
@@
-22,6
+22,7
@@
import json
import logging
import sys
+import time
from json import JSONDecodeError
import six
@@
-106,6
+107,7
@@
class CommonConsumer:
log.exception("Exception: ")
return
retries = retries + 1
+ time.sleep(2)
log.info("Listening for messages...")
for message in common_consumer: