From 557a17d2e372eea23e2ee976443cb8b115002200 Mon Sep 17 00:00:00 2001 From: Bucky Wilson Date: Tue, 21 Nov 2017 13:47:51 +1000 Subject: [PATCH] Fixed: 'DataObjects::ConnectionError - database is locked:' error Getting error using sqlite database. Added: db_pool, and db_timeout to correct. --- config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.yaml b/config.yaml index fc6ae1dd0..1126759d6 100644 --- a/config.yaml +++ b/config.yaml @@ -106,6 +106,8 @@ beef: # db_file is only used for sqlite db_file: "beef.db" + db_pool: 50 # Issues with sqlite locking. + db_timeout: 500 # https://stackoverflow.com/questions/7154664/ruby-sqlite3busyexception-database-is-locked # db connection information is only used for mysql/postgres db_host: "localhost"