feat: able to set sqlite busy_timeout (#818)

* add sqlite busy_timeout=3000

* chore: update impl

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
This commit is contained in:
Calcium-Ion
2023-12-17 19:17:00 +08:00
committed by GitHub
parent 66f06e5d6f
commit 7d6a169669
3 changed files with 5 additions and 1 deletions

View File

@@ -4,3 +4,4 @@ var UsingSQLite = false
var UsingPostgreSQL = false
var SQLitePath = "one-api.db"
var SQLiteBusyTimeout = GetOrDefault("SQLITE_BUSY_TIMEOUT", 3000)