Multithreaded notification queue

This commit is contained in:
JonnyWong16 2016-10-03 20:56:30 -07:00 committed by JonnyWong16
commit 08a8b5fee0
5 changed files with 38 additions and 58 deletions

View file

@ -381,7 +381,7 @@ def start():
# Start background notification thread
if any([CONFIG.MOVIE_NOTIFY_ENABLE, CONFIG.TV_NOTIFY_ENABLE,
CONFIG.MUSIC_NOTIFY_ENABLE, CONFIG.NOTIFY_RECENTLY_ADDED]):
notification_handler.start_thread(num_threads=3)
notification_handler.start_threads(num_threads=3)
started = True