diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-10-16 14:22:45 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-10-16 14:22:45 -0500 |
| commit | e4c48bc4ba6a86750c8e819b6957dac9f33d48cd (patch) | |
| tree | ae93d7c37644737fe5d77fed37a5511c6315445a /src/web | |
| parent | 744e744084a2ea1674eec528adcadf98d0a1a736 (diff) | |
| download | slskd-e4c48bc4ba6a86750c8e819b6957dac9f33d48cd.tar.gz | |
add about 30 seconds worth of retries
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/src/lib/hubFactory.js | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
