diff --git a/LeStorage/StoreCenter.swift b/LeStorage/StoreCenter.swift index 649de55..7d0c082 100644 --- a/LeStorage/StoreCenter.swift +++ b/LeStorage/StoreCenter.swift @@ -585,7 +585,7 @@ public class StoreCenter { self.wantsToSynchronize = true return nil } - Logger.log("synchronizeLastUpdates started...") + Logger.log(">>> synchronizeLastUpdates started...") self.synchronizesData = true self.wantsToSynchronize = false @@ -607,6 +607,8 @@ public class StoreCenter { return error } self.synchronizesData = false + Logger.log(">>> synchronizeLastUpdates ended.") + return nil } diff --git a/LeStorage/SyncedCollection.swift b/LeStorage/SyncedCollection.swift index ba317d1..2b8475f 100644 --- a/LeStorage/SyncedCollection.swift +++ b/LeStorage/SyncedCollection.swift @@ -441,7 +441,7 @@ public class SyncedCollection: SomeSyncedCollection, Collect if instance.lastUpdate > localInstance.lastUpdate { self.collection.update(instance, index: index, actionOption: .standard) } else { - print("do not update \(T.resourceName()): \(instance.lastUpdate.timeIntervalSince1970) / local: \(localInstance.lastUpdate.timeIntervalSince1970)") +// print("do not update \(T.resourceName()): \(instance.lastUpdate.timeIntervalSince1970) / local: \(localInstance.lastUpdate.timeIntervalSince1970)") } } else { // insert instance.sharing = shared