mirror of
https://github.com/penpot/penpot.git
synced 2026-04-30 05:38:42 +00:00
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.