Skip to content

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

TypeScript fluxerfluxerapp

refactor(app): drop unused backoff attempt getter

Hampusc4c7012d26c7
diff --git a/fluxer_app/src/features/platform/utils/RetryScheduler.ts b/fluxer_app/src/features/platform/utils/RetryScheduler.ts
index 1d0b905cf..8855c621b 100644
--- a/fluxer_app/src/features/platform/utils/RetryScheduler.ts
+++ b/fluxer_app/src/features/platform/utils/RetryScheduler.ts
@@ -31,10 +31,6 @@ export class ExponentialBackoff {
return Math.max(this.options.minDelay, Math.min(baseDelay + jitter, this.options.maxDelay));
}
- getCurrentAttempts(): number {
- return this.attempts;
- }
-
reset(): void {
this.attempts = 0;
}