[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: Scheduler policy.

From: gnunet
Subject: [libeufin] branch master updated: Scheduler policy.
Date: Tue, 25 Apr 2023 12:51:12 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new b2471f00 Scheduler policy.
b2471f00 is described below

commit b2471f00eba039a460cc31f02fc47a2267367efd
Author: MS <>
AuthorDate: Tue Apr 25 12:49:59 2023 +0200

    Scheduler policy.
    Bringing the scheduler loop to 1 second frequency.
 nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt 
index fd34faec..de6ff358 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Scheduling.kt
@@ -168,7 +168,7 @@ suspend fun javaTimerOperationScheduler(httpClient: 
HttpClient) {
 suspend fun whileTrueOperationScheduler(httpClient: HttpClient) {
     while (true) {
-        // Wait a bit
-        delay(Duration.ofSeconds(5))
+        // Wait the shortest period that the cron spec would allow.
+        delay(Duration.ofSeconds(1))
\ No newline at end of file

To stop receiving notification emails like this one, please contact

reply via email to

[Prev in Thread] Current Thread [Next in Thread]