From 6b83915031a42e0addca785a3bec5a7ecec6077e Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Mon, 26 Oct 2020 01:48:51 +0200 Subject: PPC enable synchronization even when jobs sync and diagnostics sync are disabled. (for data store) --- .../Synchronization/DefaultMachineDataSynchronizer.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs index 4ffb6b751..5a951e9fa 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs @@ -210,7 +210,7 @@ namespace Tango.PPC.Common.Synchronization } } - { //Always synchronize data store items + { //Always synchronize data store items LogManager.Log("Checking Data Store Items..."); var dataStoreItems = await db.DataStoreItems.Where(x => !x.IsSynchronized).Take(MaxDataStoreItems).ToListAsync(); @@ -494,8 +494,6 @@ namespace Tango.PPC.Common.Synchronization var syncJobs = settings.SynchronizeJobs; var syncDiagnostics = settings.SynchronizeDiagnostics; - if (!syncJobs && !syncDiagnostics) return; - IsSynchronizing = true; SynchronizationStarted?.Invoke(this, new EventArgs()); -- cgit v1.3.1