diff options
Diffstat (limited to 'nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt')
-rw-r--r-- | nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt index 51f5285c..8eff8790 100644 --- a/nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt +++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt @@ -102,7 +102,6 @@ fun startOperationScheduler(httpClient: HttpClient) { GlobalScope.launch { while (true) { logger.trace("running schedule loop") - // First, assign next execution time stamps to all tasks that need them transaction { NexusScheduledTaskEntity.find { @@ -145,8 +144,6 @@ fun startOperationScheduler(httpClient: HttpClient) { } } } - - // Wait a bit delay(Duration.ofMillis(tick)) } } |