Commit Graph

12 Commits

Author SHA1 Message Date
1254a7fb45 Still send event when files' permissions change 2013-09-08 23:30:13 -04:00
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
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
793e4eb6b2 client: add batching of sending events to the server 2013-09-05 23:20:29 -04:00
fcf61701cc Process remote events in their own goroutines 2013-09-05 19:59:45 -04:00
d97b424e98 watcher: Begin watching added directories before walking them to add subdirectories 2013-09-05 19:58:32 -04:00
90533c9e2d Keep statistics on the number of events being sent to the server 2013-09-04 23:51:28 -04:00
11b57cda66 Add statistics to client and command to view them 2013-09-04 23:09:28 -04:00
e375489cae Add copyright information 2013-09-04 22:02:17 -04:00
393eb31c3c Add version information 2013-09-04 21:29:53 -04:00
d883e3d92d Generalize RPC client code, add basic RPC functionality to client 2013-09-03 23:33:36 -04:00
4eb75e1db1 Continue reorganization, add asinkd stop cmd, make asinkd socket configurable 2013-09-02 23:35:48 -04:00