Spaces:
Running
Running
Commit
·
1464827
1
Parent(s):
6fb078e
Fix runner thread
Browse files- run_jobs.py +0 -2
run_jobs.py
CHANGED
|
@@ -2,7 +2,6 @@ import logging
|
|
| 2 |
import threading
|
| 3 |
import time
|
| 4 |
|
| 5 |
-
import pipe
|
| 6 |
from io_utils import pop_job_from_pipe
|
| 7 |
|
| 8 |
is_running = False
|
|
@@ -15,7 +14,6 @@ def start_process_run_job():
|
|
| 15 |
thread = threading.Thread(target=run_job)
|
| 16 |
thread.daemon = True
|
| 17 |
is_running = True
|
| 18 |
-
pipe.init()
|
| 19 |
thread.start()
|
| 20 |
|
| 21 |
except Exception as e:
|
|
|
|
| 2 |
import threading
|
| 3 |
import time
|
| 4 |
|
|
|
|
| 5 |
from io_utils import pop_job_from_pipe
|
| 6 |
|
| 7 |
is_running = False
|
|
|
|
| 14 |
thread = threading.Thread(target=run_job)
|
| 15 |
thread.daemon = True
|
| 16 |
is_running = True
|
|
|
|
| 17 |
thread.start()
|
| 18 |
|
| 19 |
except Exception as e:
|