mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 14:10:52 -07:00
Pass copy of notification data to prevent multithreading issues
This commit is contained in:
parent
7672f1955e
commit
9100e25a21
4 changed files with 18 additions and 18 deletions
|
@ -127,7 +127,7 @@ class ActivityProcessor(object):
|
|||
if result == 'insert':
|
||||
# Check if any notification agents have notifications enabled
|
||||
if notify:
|
||||
plexpy.NOTIFY_QUEUE.put({'stream_data': values, 'notify_action': 'on_play'})
|
||||
plexpy.NOTIFY_QUEUE.put({'stream_data': values.copy(), 'notify_action': 'on_play'})
|
||||
|
||||
# If it's our first write then time stamp it.
|
||||
started = int(time.time())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue