Open chenyuntc opened 5 months ago
I confirm. Every time taskwarrior fetches some data, the file seems updated. I also suspect this is the cause of the noticeable delays for taskwarrior to display results.
I don't think TW is acutally modifying the data, but it is opening the DB in r/w mode which, from some quick strace
analysis, does perform a write of the first block.
So, we should find a way to open the DB in a read-only mode.
When I run
task list
thetaskchampion.sqlite3
's mtime changed.This is inconvenience as I use the mtime to sync between workstations.
So is there a way to turn off the changes on the sqlite file when operations has no side-effect (i.e. list, filter)?