Fix WAL threshold
As it was too small.
This commit is contained in:
parent
f4be647610
commit
2043a4ef6f
1 changed files with 1 additions and 1 deletions
|
|
@ -1485,7 +1485,7 @@
|
||||||
(match-lambda
|
(match-lambda
|
||||||
((system . target)
|
((system . target)
|
||||||
(let loop ((wal-bytes (stat:size (stat "/var/guix/db/db.sqlite-wal"))))
|
(let loop ((wal-bytes (stat:size (stat "/var/guix/db/db.sqlite-wal"))))
|
||||||
(when (> wal-bytes 200000000)
|
(when (> wal-bytes (* 2048 (expt 2 20)))
|
||||||
(simple-format #t "debug: guix-daemon WAL is large (~A), waiting\n"
|
(simple-format #t "debug: guix-daemon WAL is large (~A), waiting\n"
|
||||||
wal-bytes)
|
wal-bytes)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue