Tweak Sqlite connection settings to reduce database locked errors

Related resources:
- https://litestream.io/tips/
- https://unixsheikh.com/articles/sqlite-the-only-database-you-will-ever-need-in-most-cases.html
This commit is contained in:
Frédéric Guillot
2023-07-07 19:00:59 -07:00
committed by Frédéric Guillot
parent e00e2e3789
commit f084cfa7bd
5 changed files with 32 additions and 4 deletions

View File

@@ -79,6 +79,9 @@
<?= $this->url->link(t('Optimize the database'), 'ConfigController', 'optimizeDb', array(), true) ?>&nbsp;
<?= t('(VACUUM command)') ?>
</li>
<?php foreach ($db_options as $option => $value): ?>
<li><strong><?= $this->text->e($option) ?></strong> = <?= $this->text->e($value) ?></li>
<?php endforeach ?>
</ul>
</div>
<?php endif ?>