Skip to content

Commit 3fd3a52

Browse files
committed
switch back to mp
1 parent a4ee7f9 commit 3fd3a52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jaseci_core/jaseci/extens/svc/elastic_svc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,10 @@ def elastic_log_worker(elastic_index):
249249
import threading
250250

251251
logger.info("-----------creating worker process")
252-
# worker_proc = multiprocessing.Process(
253-
# target=elastic_log_worker, args=(index,)
254-
# )
255-
worker_proc = threading.Thread(target=elastic_log_worker, args=(index,))
252+
worker_proc = multiprocessing.Process(
253+
target=elastic_log_worker, args=(index,)
254+
)
255+
# worker_proc = threading.Thread(target=elastic_log_worker, args=(index,))
256256
logger.info("-----------start worker process")
257257
worker_proc.start()
258258
logger.info("-----------started worker process")

0 commit comments

Comments
 (0)