//Essentially it stops the poll agent to give priority to the network agent
//Initially the event is signalled because we don't need to pause
private readonly AsyncManualResetEvent _proceedEvent = new AsyncManualResetEvent(true);
- private Agents.Selectives _selectives;
private bool _pause;
public AsyncManualResetEvent ProceedEvent
}
}
- private async Task SyncFiles(AccountInfo accountInfo,CloudAction action)
+/* private async Task SyncFiles(AccountInfo accountInfo,CloudAction action)
{
if (accountInfo == null)
throw new ArgumentNullException("accountInfo");
// If the previous tophash matches the local tophash, the file was only changed on the server.
if (localHash == previousCloudHash)
{
- await Downloader.DownloadCloudFile(accountInfo, cloudFile, downloadPath, CurrentOperationCancelToken);
+ await Downloader.DownloadCloudFile(accountInfo, cloudFile, downloadPath CurrentOperationCancelToken);
}
else
{
ReportConflictForMismatch(downloadPath);
}
}
- }
+ }*/
private void ReportConflictForMismatch(string downloadPath)
{