1
0
Fork 0
Commit Graph

9 Commits

Author SHA1 Message Date
Aaron Lindsay 1254a7fb45 Still send event when files' permissions change 2013-09-08 23:30:13 -04:00
Aaron Lindsay 1b4104a928 Don't ever use UNIX file modification time for event modification time
Doing so can cause inconsistency and cause events to get dropped that
shouldn't. Also add warning to local event side if an event is reported
by the watcher that is not more recent than the event which was
previously the latest local event.
2013-09-08 22:51:36 -04:00
Aaron Lindsay d7cd6f348c Update timestamp on events even if they match
If we don't do this, we don't maintain the invariant that the timestamp
of the latest locally-stored event for a path is the last time this path
was updated. Not maintaining this invariant can cause to incorrect
behavior (i.e. files being deleted when they shouldn't).
2013-09-08 22:13:04 -04:00
Aaron Lindsay 793e4eb6b2 client: add batching of sending events to the server 2013-09-05 23:20:29 -04:00
Aaron Lindsay fcf61701cc Process remote events in their own goroutines 2013-09-05 19:59:45 -04:00
Aaron Lindsay 90533c9e2d Keep statistics on the number of events being sent to the server 2013-09-04 23:51:28 -04:00
Aaron Lindsay 11b57cda66 Add statistics to client and command to view them 2013-09-04 23:09:28 -04:00
Aaron Lindsay e375489cae Add copyright information 2013-09-04 22:02:17 -04:00
Aaron Lindsay d883e3d92d Generalize RPC client code, add basic RPC functionality to client 2013-09-03 23:33:36 -04:00