diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 4323f68f5..244bc1299 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -513,7 +513,7 @@ async function runTaskLoop( } minDue = AbsoluteTime.min(minDue, p.timestampDue); - if (AbsoluteTime.isExpired(p.timestampDue)) { + if (AbsoluteTime.isExpired(p.timestampDue) && !ws.activeLongpoll[p.id]) { numDue++; } if (p.givesLifeness) {