core: increase server timeout

This commit is contained in:
ammarahm-ed
2023-09-04 14:26:35 +05:00
parent 5843df0ce8
commit ace2dfac30

View File

@@ -144,7 +144,7 @@ class Sync {
})
.withHubProtocol(new MessagePackHubProtocol({ ignoreUndefined: true }))
.build();
this.connection.serverTimeoutInMilliseconds = 60 * 1000 * 5;
EV.subscribe(EVENTS.userLoggedOut, async () => {
await this.connection.stop();
this.autoSync.stop();