remove poll altogether

This commit is contained in:
Matt Hill
2022-08-16 15:14:39 -06:00
parent caf53a9141
commit a8eaf2ca41
5 changed files with 14 additions and 55 deletions

View File

@@ -7,6 +7,6 @@ export class WebsocketSource<T> implements Source<T> {
constructor(private readonly url: string) {}
watch$(): Observable<Update<T>> {
return webSocket<Update<T>>(this.url).pipe(timeout({ first: 60000 }))
return webSocket<Update<T>>(this.url).pipe(timeout({ first: 21000 }))
}
}