diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-12-21 23:35:20 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-12-21 23:50:13 +0100 |
commit | bdf860c2e99077d431da0cc1db4fc14db2a35d31 (patch) | |
tree | 5414c8953d73683e35f353bf6379654955fb8812 /config-daemon.ac | |
parent | b96e05aefd7a4f734cfec3b27c2d38320d43b687 (diff) | |
download | guix-bdf860c2e99077d431da0cc1db4fc14db2a35d31.tar.gz |
database: Use "write-ahead log" mode and set a long "busy timeout".
This should avoid "database is locked" errors when there's a lot of concurrency, for instance when offloading simultaneously a lot of builds. * guix/store/database.scm (call-with-database): Add two 'sqlite-exec' calls to set 'journal_mode' and 'busy_timeout'.
Diffstat (limited to 'config-daemon.ac')
0 files changed, 0 insertions, 0 deletions