summary refs log tree commit diff
path: root/build-aux/run-system-tests.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-12-21 23:35:20 +0100
committerLudovic Courtès <ludo@gnu.org>2018-12-21 23:50:13 +0100
commitbdf860c2e99077d431da0cc1db4fc14db2a35d31 (patch)
tree5414c8953d73683e35f353bf6379654955fb8812 /build-aux/run-system-tests.scm
parentb96e05aefd7a4f734cfec3b27c2d38320d43b687 (diff)
downloadguix-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 'build-aux/run-system-tests.scm')
0 files changed, 0 insertions, 0 deletions