Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

fix(api): use the self-host delay for shared list retries

Hampus318a795af8d3
diff --git a/fluxer_api/src/api/infrastructure/activity/SharedLists.ts b/fluxer_api/src/api/infrastructure/activity/SharedLists.ts
index 5ed54082d..0e7e9df7d 100644
--- a/fluxer_api/src/api/infrastructure/activity/SharedLists.ts
+++ b/fluxer_api/src/api/infrastructure/activity/SharedLists.ts
@@ -101,7 +101,7 @@ function scheduleWatch(js: JetStreamClient, state: WatchState, delayMs: number):
})
.finally(() => {
state.messages = null;
- if (!state.stopped) scheduleWatch(js, state, RETRY_DELAY_MS);
+ if (!state.stopped) scheduleWatch(js, state, state.retryDelayMs);
});
}, delayMs);
state.retry.unref?.();