From 9e0b13e93914144c4abcb81fd01ea7f07ef76064 Mon Sep 17 00:00:00 2001 From: datawhores <67020411+datawhores@users.noreply.github.com> Date: Wed, 22 Nov 2023 18:51:39 -0600 Subject: [PATCH] Update start.py --- ofscraper/start.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ofscraper/start.py b/ofscraper/start.py index 5216289b8..3defdb080 100644 --- a/ofscraper/start.py +++ b/ofscraper/start.py @@ -38,8 +38,8 @@ def main(): main_event = Event() other_event = Event() main_log_thread=logger.start_stdout_logthread(event=main_event) - # if system.getcpu_count()>=2:other_log_process=logger.start_other_process() - # else: other_log_thread=logger.start_other_thread(event=other_event) + if system.getcpu_count()>=2:other_log_process=logger.start_other_process() + else: other_log_thread=logger.start_other_thread(event=other_event) # allow background processes to start time.sleep(3)