mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 10:21:53 +00:00
remove poll altogether
This commit is contained in:
@@ -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 }))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user