This commit is contained in:
Joey Hess 2012-06-07 21:40:31 -04:00
parent 109bd9c08b
commit 4f6b522d8c

View file

@ -13,6 +13,7 @@ now repeated index writes are eliminated.
... Eliminated too far, it turns out, since it doesn't yet *ever* flush
that queue until shutdown! So the next step here will be to have a worker
thread that wakes up periodically, flushes the queue, and autocommits.
(This will, in fact, be the start of the [[syncing]] phase of my roadmap!)
There's lots of room here for smart behavior. Like, if a lot of changes are
being made close together, wait for them to die down before committing. Or,
if it's been idle and a single file appears, commit it immediatly, since