Ejemplo n.º 1
0
 private void ScavengerTask()
 {
     Logger.Debug("Scavenging...");
     try
     {
         ScavengeFiles(endpoint.GetDropPath(), endpoint.GetDropPath());  // scavenge files stalled in drop path
         ScavengeFiles(endpoint.InProgressPath, endpoint.GetDropPath()); // scavenge flies stalled in progress path
     }
     catch (Exception exception)
     {
         if (IsNetworkingError(exception))
         {
             this.sufferedNetworkError = true;
         }
         Logger.Debug(string.Format("Timer Exception {0}, Type: {1}", exception.Message, exception.GetType()));
     }
 }