CC-4915: Media-Monitor cannot handle rabbitmq restart event
-fixed
This commit is contained in:
parent
d4891803cc
commit
2f33e99ff5
3 changed files with 33 additions and 18 deletions
|
@ -75,7 +75,7 @@ class MM2(InstanceThread, Loggable):
|
|||
airtime_receiver.new_watch({ 'directory':watch_dir }, restart=True)
|
||||
else: self.logger.info("Failed to add watch on %s" % str(watch_dir))
|
||||
|
||||
EventDrainer(airtime_notifier.connection,
|
||||
EventDrainer(airtime_notifier,
|
||||
interval=float(config['rmq_event_wait']))
|
||||
|
||||
# Launch the toucher that updates the last time when the script was
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue