Added processing of batch files
[pithos-ms-client] / trunk / Pithos.Core / Agents / FileAgent.cs
index 5b9fb0c..978ace2 100644 (file)
@@ -83,7 +83,9 @@ namespace Pithos.Core.Agents
 
         private void ProcessBatchedEvents(Dictionary<string, FileSystemEventArgs[]> fileEvents)
         {
-            PollAgent.SynchNow();
+            var paths = fileEvents.Keys;
+
+            PollAgent.SynchNow(paths);
         }
 
 /*