Skip to content

Commit

Permalink
add sqlite busy_timeout=5000
Browse files Browse the repository at this point in the history
  • Loading branch information
Calcium-Ion committed Nov 22, 2023
1 parent 7949258 commit 3808ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ package common
var UsingSQLite = false
var UsingPostgreSQL = false

var SQLitePath = "one-api.db"
var SQLitePath = "one-api.db?_busy_timeout=5000"

0 comments on commit 3808ae8

Please sign in to comment.