Fixed: 'DataObjects::ConnectionError - database is locked:' error

Getting error using sqlite database.
Added: db_pool, and db_timeout to correct.
This commit is contained in:
Bucky Wilson
2017-11-21 13:47:51 +10:00
parent 24298b4d9e
commit 717c5f52eb

View File

@@ -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"