Add multiprocessing semaphore prefix

* Fixes #2007
This commit is contained in:
JonnyWong16 2023-02-26 15:17:04 -08:00
commit 731d5c9baf
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -29,6 +29,7 @@ import appdirs
import argparse
import datetime
import locale
import multiprocessing
import pytz
import signal
import shutil
@ -47,6 +48,8 @@ elif common.PLATFORM == 'Darwin':
signal.signal(signal.SIGINT, plexpy.sig_handler)
signal.signal(signal.SIGTERM, plexpy.sig_handler)
multiprocessing.current_process()._config['semprefix'] = '/tautulli.tautulli.mp'
def main():
"""