Make export threads advanced config setting

This commit is contained in:
JonnyWong16
2020-10-14 23:48:58 -07:00
parent 57d08e231c
commit ab75628cf7
2 changed files with 2 additions and 1 deletions

View File

@@ -1660,7 +1660,7 @@ class Export(object):
method = getattr(self.obj, self.export_type)
items = method()
pool = ThreadPool(processes=4)
pool = ThreadPool(processes=plexpy.CONFIG.EXPORT_THREADS)
items = [ExportObject(self, item) for item in items]
try: