CC-2272: Ability to change storage directory location

-done
This commit is contained in:
martin 2011-07-06 14:42:43 -04:00
parent eaba145d6d
commit 67df619c90
6 changed files with 31 additions and 18 deletions

View file

@ -63,12 +63,12 @@ try:
wm = WatchManager()
pe = AirtimeProcessEvent(queue=multi_queue, airtime_config=config, wm=wm)
notifier = AirtimeNotifier(wm, pe, read_freq=1, timeout=0, airtime_config=config, api_client=api_client)
notifier.coalesce_events()
bootstrap = AirtimeMediaMonitorBootstrap(logger, multi_queue, pe, config)
bootstrap = AirtimeMediaMonitorBootstrap(logger, multi_queue, pe, api_client)
bootstrap.scan()
notifier = AirtimeNotifier(wm, pe, read_freq=1, timeout=0, airtime_config=config, api_client=api_client, bootstrap=bootstrap)
notifier.coalesce_events()
#create 5 worker processes
wp = MediaMonitorWorkerProcess()
for i in range(5):