commit 8bd9c65749536292e11f30b00ebfd949287c8bd3
parent f297a3c9dc1df7576829140ac505a43825ce1816
Author: Florian Dold <florian@dold.me>
Date: Sat, 18 Jul 2026 11:39:16 +0200
fix bad comparison in task throttling
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/taler-util/src/TaskThrottler.ts b/packages/taler-util/src/TaskThrottler.ts
@@ -135,7 +135,7 @@ export class TaskThrottler {
Duration.cmp(
AbsoluteTime.difference(v.lastUpdate, AbsoluteTime.now()),
Duration.fromSpec({ hours: 1 }),
- ) > 1
+ ) > 0
) {
delete this.perTaskInfo[k];
}