From 0e1e4d42ec25f3eb0df121f54550073ea41a7449 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Wed, 25 Mar 2026 10:05:10 -0700 Subject: [PATCH] Simplify TaskWithTimeout further --- ts/textsecure/TaskWithTimeout.std.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/ts/textsecure/TaskWithTimeout.std.ts b/ts/textsecure/TaskWithTimeout.std.ts index b1960b8755..299ea6a6ad 100644 --- a/ts/textsecure/TaskWithTimeout.std.ts +++ b/ts/textsecure/TaskWithTimeout.std.ts @@ -32,7 +32,6 @@ function maybeStartTicking(): void { return; } - log.info('starting tick'); tickInterval = setInterval(() => { for (const task of tasks) { task.ticks += 1; @@ -53,7 +52,6 @@ export function suspendTasksWithTimeout(): void { log.info(`suspending ${tasks.size} tasks`); shouldStartTicking = false; if (tickInterval != null) { - log.info('stopping tick'); clearInterval(tickInterval); tickInterval = undefined; } @@ -109,7 +107,6 @@ export async function runTaskWithTimeout( } finally { tasks.delete(entry); if (tasks.size === 0 && tickInterval != null) { - log.info('stopping tick'); clearInterval(tickInterval); tickInterval = undefined; }