Increase allowed auth failure attempts, Increase maximum incremental backoff retry interval

This commit is contained in:
binwiederhier 2023-03-08 14:51:47 -05:00
parent f953302c27
commit c6bfdd45be
4 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,6 @@
import {basicAuth, bearerAuth, encodeBase64Url, topicShortUrl, topicUrlWs} from "./utils";
const retryBackoffSeconds = [5, 10, 15, 20, 30];
const retryBackoffSeconds = [5, 10, 20, 30, 60, 120];
/**
* A connection contains a single WebSocket connection for one topic. It handles its connection