From: Dessalines Date: Mon, 21 Oct 2019 05:19:22 +0000 (-0700) Subject: Adding shorter websocket reconnect. X-Git-Url: http://these/git/%22https:/image.com/%7B%7D/static/%22%7Burl%7D/%7Burl%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) ) ) )