fix: Process -> Thread
This commit is contained in:
parent
c937893fbd
commit
e1a03e555e
1 changed files with 2 additions and 3 deletions
|
|
@ -1,8 +1,7 @@
|
|||
import logging
|
||||
from collections import deque
|
||||
from multiprocessing import Process
|
||||
from pathlib import Path
|
||||
from threading import RLock
|
||||
from threading import RLock, Thread
|
||||
from typing import Annotated
|
||||
|
||||
from injectable import injectable, Autowired, autowired
|
||||
|
|
@ -15,7 +14,7 @@ from services.mo import Mo
|
|||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class WoodpeckerRunner(Process):
|
||||
class WoodpeckerRunner(Thread):
|
||||
def __init__(self, git: GitService, docker: DockerService, mo: Mo,
|
||||
success_callback=None, error_callback=None):
|
||||
super().__init__(daemon=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue