]> Untitled Git - lemmy.git/commitdiff
Adding shorter websocket reconnect.
authorDessalines <tyhou13@gmx.com>
Mon, 21 Oct 2019 05:19:22 +0000 (22:19 -0700)
committerDessalines <tyhou13@gmx.com>
Mon, 21 Oct 2019 05:19:22 +0000 (22:19 -0700)
- Fixes #314

ui/src/services/WebSocketService.ts

index ac465b221cc0bbd3dc2cb8b715ffccf324ae37a1..ea6c7722eadf62edb2356b861821c5cbb3352a8c 100644 (file)
@@ -53,8 +53,8 @@ export class WebSocketService {
       .pipe(
         retryWhen(errors =>
           errors.pipe(
-            delay(60000),
-            take(999)
+            delay(1000)
+            // take(999)
           )
         )
       )