diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/lib/hubFactory.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/web/src/lib/hubFactory.js b/src/web/src/lib/hubFactory.js index a64c5c40..e0205ec9 100644 --- a/src/web/src/lib/hubFactory.js +++ b/src/web/src/lib/hubFactory.js @@ -13,11 +13,13 @@ export const createHubConnection = ({ url }) => withCredentials: true, accessTokenFactory: session.isPassthroughEnabled() ? undefined : session.getToken }) - .withAutomaticReconnect([0, 500, 1000, 3000, 5000, 5000, 5000, 5000, 5000]) + .withAutomaticReconnect([0, 100, 250, 500, 1000, 2000, 3000, 5000, 5000, 5000, 5000, 5000]) .withHubProtocol(new JsonHubProtocol()) .configureLogging(LogLevel.Warning) .build(); export const createApplicationHubConnection = () => createHubConnection({ url: `${rootUrl}hub/application` }); -export const createLogsHubConnection = () => createHubConnection({ url: `${rootUrl}hub/logs` });
\ No newline at end of file +export const createLogsHubConnection = () => createHubConnection({ url: `${rootUrl}hub/logs` }); + +export const createSearchLogHubConnection = () => createHubConnection({ url: `${rootUrl}hub/search` });
\ No newline at end of file |
