Andrey Antukh 024cc88738 Reduce the file-change snapshot taking ratio.
Until now, a file `data` snapshot was persisted on every file_change
row. That causes a lot of IO load and increase disk usage without
a real benefit.

This commit reduces the snapshot generation; now the snapshot
is persisted every 20 update-file or when a file is not touched
in 3 hours or more.
2021-06-11 12:36:21 +02:00
..
2021-05-31 11:04:32 +02:00
2021-05-31 11:04:32 +02:00
2020-06-16 15:40:13 +02:00
2021-05-31 11:04:32 +02:00
2020-12-21 16:55:54 +01:00