Commit bb415382 by ‘chizw’

[+]进程池优化

1 parent fd4370c9
...@@ -105,7 +105,7 @@ def consume_kafka(): ...@@ -105,7 +105,7 @@ def consume_kafka():
def consumer_process_init(): def consumer_process_init():
try: try:
process_name = str(multiprocessing.current_process()) process_name = str(multiprocessing.current_process().name)
log.info(f"consumer_process_init process_name:{process_name}") log.info(f"consumer_process_init process_name:{process_name}")
res = funasr_db.select_process_fail_task(process_name) res = funasr_db.select_process_fail_task(process_name)
if res is not None: if res is not None:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!