Skip to content
Snippets Groups Projects
Commit 1f422328 authored by Benjamin Fiorini's avatar Benjamin Fiorini
Browse files

monitoring : fix error in mae and hbase-consumer

parent ae006df3
Branches
Tags
No related merge requests found
......@@ -128,8 +128,8 @@ def main():
time.sleep(0.1)
try:
# purge old messages
message_queue.purge(maxtemp=0,
maxlock=0)
message_queue.purge(maxtemp=60,
maxlock=60)
except OSError, exc:
logging.debug(str(exc))
......
......@@ -50,7 +50,7 @@ class Analyzer(threading.Thread):
logging.warning(str(exc))
time.sleep(0.1) # wait and loop again if empty queue
# purge old messages
self._message_queue.purge(maxtemp=0, maxlock=0)
self._message_queue.purge(maxtemp=60, maxlock=60)
except OSError, exc:
logging.debug(str(exc))
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment