Erik Arvstedt f56ec70aad Ensure docs have been unmodified for some time before consuming
Previously, the second mtime check for new files usually happened right
after the first one, which could have caused consumption of docs that
were still being modified.

We're now waiting for at least FILES_MIN_UNMODIFIED_DURATION (0.5s).

This also cleans up the logic by eliminating the consumer.stats attribute
and the weird double call to consumer.run().

Additionally, this a fixes memory leak in consumer.stats where paths could be
added but never removed if the corresponding files disappeared from
the consumer dir before being considered ready.
2018-05-11 14:05:29 +02:00
..
2017-03-25 16:21:46 +00:00
2018-04-22 16:28:21 +01:00
2015-12-20 19:23:33 +00:00
2017-03-25 16:20:59 +00:00
2017-04-19 11:30:12 +02:00
2018-04-22 16:28:03 +01:00
2017-05-08 15:48:37 +02:00
2018-02-04 13:27:26 +00:00