Commit 6be42fbf authored by Antonio Terceiro's avatar Antonio Terceiro

config: add timeout to default database config

This avoids "Database is locked" exceptions when developing locally with
sqlite3
parent 62620654
......@@ -55,7 +55,7 @@ debci_sendmail_from="${debci_sendmail_from:-$debci_distro_name Continuous Integr
debci_sendmail_to="${debci_sendmail_to:-%s@localhost}"
debci_url_base="${debci_url_base:-http://localhost:8080}"
debci_artifacts_url_base="${debci_artifacts_url_base:-}"
debci_database_url="${debci_database_url:-sqlite3://$debci_data_basedir/debci.sqlite3}"
debci_database_url="${debci_database_url:-sqlite3://$debci_data_basedir/debci.sqlite3?timeout=5000}"
debci_secrets_dir=${debci_secrets_dir:-$(readlink -f "${debci_base_dir}/secrets")}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment