Add advanced config for number of notification threads

This commit is contained in:
JonnyWong16 2016-10-09 09:27:34 -07:00 committed by JonnyWong16
commit 7a37408459
2 changed files with 2 additions and 1 deletions

View file

@ -395,7 +395,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_threads(num_threads=3)
notification_handler.start_threads(num_threads=CONFIG.NOTIFICATION_THREADS)
_STARTED = True