commit 2367a1dd6708b1c2511662977dcee6175d2347c9
parent 58489df3b9468ee024a3920ba1d28dc40a663e87
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 12 Jul 2026 22:08:28 +0200
de-fang unimplemented router from causing DoS on DB
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/exchange/taler-exchange-router.c b/src/exchange/taler-exchange-router.c
@@ -400,8 +400,13 @@ run (void *cls,
else
shard_size = (uint32_t) ass;
GNUNET_assert (NULL == task);
- task = GNUNET_SCHEDULER_add_now (&run_shard,
- NULL);
+ if (0)
+ {
+ /* FIXME: router is not implemented, remove this once it makes
+ sense to start the DB workload logic... */
+ task = GNUNET_SCHEDULER_add_now (&run_shard,
+ NULL);
+ }
GNUNET_SCHEDULER_add_shutdown (&shutdown_task,
cls);
}