aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-10-26 01:48:51 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-10-26 01:48:51 +0200
commit6b83915031a42e0addca785a3bec5a7ecec6077e (patch)
tree2faab359627b724498aa464689143c9556fcbe18 /Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs
parent5e609a785244e5f20149a04b6df5b83345e9b176 (diff)
downloadTango-6b83915031a42e0addca785a3bec5a7ecec6077e.tar.gz
Tango-6b83915031a42e0addca785a3bec5a7ecec6077e.zip
PPC enable synchronization even when jobs sync and diagnostics sync are disabled. (for data store)
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Synchronization/DefaultMachineDataSynchronizer.cs4
1 files changed, 1 insertions, 3 deletions
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());