From 3e4eca3c5d35d81e0deac366eac7501ae5972b85 Mon Sep 17 00:00:00 2001 From: Olin Blodgett Date: Thu, 5 Jan 2023 17:36:22 -0500 Subject: [PATCH] Added thread spawn type --- src/transactors/file_transactor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/transactors/file_transactor.py b/src/transactors/file_transactor.py index 7f76fe0..5f45aef 100644 --- a/src/transactors/file_transactor.py +++ b/src/transactors/file_transactor.py @@ -13,6 +13,7 @@ class FileTransactor(object): queue = None def __init__(self): + multiprocessing.set_start_method('fork') m = multiprocessing.Manager() FileTransactor.queue = m.Queue() self.filetracking_queue = m.list()