From: Dessalines Date: Mon, 21 Oct 2019 05:19:22 +0000 (-0700) Subject: Adding shorter websocket reconnect. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%24%7B%60data:application/%22https:/hacktivis.me/%7Bthis.state.user.avatar%7D?a=commitdiff_plain;h=ef56b3deded0f8df3e6712be5fd310cf99ceae15;p=lemmy.git Adding shorter websocket reconnect. - Fixes #314 --- diff --git a/ui/src/services/WebSocketService.ts b/ui/src/services/WebSocketService.ts index ac465b22..ea6c7722 100644 --- a/ui/src/services/WebSocketService.ts +++ b/ui/src/services/WebSocketService.ts @@ -53,8 +53,8 @@ export class WebSocketService { .pipe( retryWhen(errors => errors.pipe( - delay(60000), - take(999) + delay(1000) + // take(999) ) ) )