mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
core: do not run sync before connecting sse
This commit is contained in:
committed by
Abdullah Atta
parent
84d68ca67b
commit
f2f8d81b98
@@ -349,8 +349,6 @@ class Database {
|
||||
*/
|
||||
async connectSSE(args?: { force: boolean }) {
|
||||
await this.sseMutex.runExclusive(async () => {
|
||||
this.eventManager.publish(EVENTS.databaseSyncRequested, true, false);
|
||||
|
||||
const forceReconnect = args && args.force;
|
||||
const EventSource = this.options.eventsource;
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user