From 0343c80fb9f10ee104ce38e0d190985295c1d18f Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 6 Aug 2020 10:21:53 +0300 Subject: [PATCH] SyncManager: remove persistor force-persist. --- src/sync/SyncManager.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/sync/SyncManager.ts b/src/sync/SyncManager.ts index e13e296..4bb94f3 100644 --- a/src/sync/SyncManager.ts +++ b/src/sync/SyncManager.ts @@ -3,7 +3,7 @@ import * as Etebase from "etebase"; -import { store, persistor, StoreState } from "../store"; +import { store, StoreState } from "../store"; import { credentialsSelector } from "../credentials"; import { setSyncCollection, setSyncGeneral, setCacheItem, setCacheCollection, unsetCacheCollection, unsetCacheItem } from "../store/actions"; @@ -123,9 +123,6 @@ export class SyncManager { throw e; } finally { this.isSyncing = false; - - // Force flusing the store to disk - persistor.persist(); } } }