Updated
This commit is contained in:
parent
31a47405df
commit
fe3c238adb
@ -15,6 +15,8 @@ class TaskCoordinator(): TaskCoordinatorBase() {
|
|||||||
private val log = KotlinLogging.logger {}
|
private val log = KotlinLogging.logger {}
|
||||||
override fun onCoordinatorReady() {
|
override fun onCoordinatorReady() {
|
||||||
super.onCoordinatorReady()
|
super.onCoordinatorReady()
|
||||||
|
runnerManager = RunnerManager(dataSource = getEventsDatabase(), name = ConvertApplication::class.java.simpleName)
|
||||||
|
runnerManager.assignRunner()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,6 @@ import org.springframework.scheduling.annotation.EnableScheduling
|
|||||||
import org.springframework.stereotype.Service
|
import org.springframework.stereotype.Service
|
||||||
|
|
||||||
|
|
||||||
@EnableScheduling
|
|
||||||
@Service
|
@Service
|
||||||
class ConvertServiceV2(
|
class ConvertServiceV2(
|
||||||
@Autowired var tasks: TaskCoordinator,
|
@Autowired var tasks: TaskCoordinator,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user