内置sqllite 限制wal大小并且出现异常能自动TRAUNCATE

Problem

AppData\Roaming\Qoder\SharedClientCache\cache\db

db just 11GB, and wal is more then 20GB, and never clean by qoder ide itself

Solution

How should it work?

execute “PRAGMA wal_checkpoint(TRUNCATE);” before client quit, Automatically detect the abnormal size of the WAL (Write-Ahead Log), Limit the size of the WAL buffer

Use Case

When would you use this?

increase less desk on user folder

Priority

  • :red_circle: High - Blocking issue
  • :yellow_circle: Medium - Important improvement
  • :green_circle: Low - Nice to have

Additional Info

(Optional: screenshots, examples, links)