mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-01 12:06:38 +08:00
fix: allow login during sqlite write pressure
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package service
|
||||
|
||||
import "github.com/ShukeBta/MediaStationGo/internal/repository"
|
||||
|
||||
func IsTransientDatabaseLock(err error) bool {
|
||||
return repository.IsSQLiteBusyError(err)
|
||||
}
|
||||
Reference in New Issue
Block a user