gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix #8040


From: gnunet
Subject: [taler-exchange] branch master updated: fix #8040
Date: Mon, 08 Jan 2024 19:47:52 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 342f1192 fix #8040
342f1192 is described below

commit 342f119263130001803d5847fbe72a259647a4df
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jan 8 19:47:49 2024 +0100

    fix #8040
---
 src/exchange/taler-exchange-expire.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/exchange/taler-exchange-expire.c 
b/src/exchange/taler-exchange-expire.c
index 207e7bda..c7132fcb 100644
--- a/src/exchange/taler-exchange-expire.c
+++ b/src/exchange/taler-exchange-expire.c
@@ -207,7 +207,12 @@ release_shard (struct Shard *s)
   if ( (0 == wc) &&
        (test_mode) &&
        (! jump_mode) )
+  {
+    GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+                "In test-mode without work. Terminating.\n");
     GNUNET_SCHEDULER_shutdown ();
+    return;
+  }
 }
 
 
@@ -379,6 +384,13 @@ run_shard (void *cls)
   if (GNUNET_TIME_absolute_is_future (s->shard_end))
   {
     abort_shard (s);
+    if (test_mode)
+    {
+      GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+                  "In test-mode without work. Terminating.\n");
+      GNUNET_SCHEDULER_shutdown ();
+      return;
+    }
     GNUNET_assert (NULL == task);
     task = GNUNET_SCHEDULER_add_at (s->shard_end,
                                     &run_shard,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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