refactor: reduce the number of s3 calls

This commit is contained in:
zhom
2026-05-09 18:17:54 +04:00
parent cabb5a3e23
commit dd613a4d59
2 changed files with 240 additions and 48 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ export class SyncController {
@Get("subscribe")
@Sse()
subscribe(@Req() req: Request): Observable<MessageEvent> {
return this.syncService.subscribe(this.getUserContext(req), 2000).pipe(
return this.syncService.subscribe(this.getUserContext(req), 5000).pipe(
map((event) => ({
data: event,
})),