Skip to content
Snippets Groups Projects
Commit dd810be6 authored by Steven Murray's avatar Steven Murray
Browse files

Giving SQLite up to 2 minutes to avoid a busy error. The previous allowance was 10 seconds

parent 96e78faf
No related branches found
No related tags found
No related merge requests found
......@@ -40,8 +40,8 @@ SqliteConn::SqliteConn(const std::string &filename):
throw exception::Exception(msg);
}
// Give SQLite upto 10 seconds to avoid a busy error
sqlite3_busy_timeout(m_sqliteConn, 10000);
// Give SQLite upto 120 seconds to avoid a busy error
sqlite3_busy_timeout(m_sqliteConn, 120000);
{
char *errMsg = nullptr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment