From e4c48bc4ba6a86750c8e819b6957dac9f33d48cd Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 16 Oct 2021 14:22:45 -0500 Subject: add about 30 seconds worth of retries --- src/web/src/lib/hubFactory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/web/src/lib/hubFactory.js b/src/web/src/lib/hubFactory.js index 3281a80c..b57faa25 100644 --- a/src/web/src/lib/hubFactory.js +++ b/src/web/src/lib/hubFactory.js @@ -12,7 +12,7 @@ export const createHubConnection = ({ url }) => .withUrl(url, { accessTokenFactory: session.getToken }) - .withAutomaticReconnect() + .withAutomaticReconnect([0, 500, 1000, 3000, 5000, 5000, 5000, 5000, 5000]) .withHubProtocol(new JsonHubProtocol()) .configureLogging(LogLevel.Warning) .build(); -- cgit v1.2.3