Reduce the WAL size threshold
This commit is contained in:
parent
3f1c2ad603
commit
ed4ba8eb95
1 changed files with 1 additions and 1 deletions
|
|
@ -1528,7 +1528,7 @@
|
|||
(match-lambda
|
||||
((system . target)
|
||||
(let loop ((wal-bytes (stat:size (stat "/var/guix/db/db.sqlite-wal"))))
|
||||
(when (> wal-bytes (* 2048 (expt 2 20)))
|
||||
(when (> wal-bytes (* 512 (expt 2 20)))
|
||||
(simple-format #t "debug: guix-daemon WAL is large (~A), waiting\n"
|
||||
wal-bytes)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue