diff options
author | zeripath <art27@cantab.net> | 2022-02-27 19:45:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-27 19:45:06 +0000 |
commit | 4697735c8da31fb0c48686e0b02634df86de1319 (patch) | |
tree | 0cd09c1a5d097fc277a6c94b9fb7b030af67c0fa /models/statistic.go | |
parent | 548adb94b4435b1304151150aa926f09a7a62255 (diff) | |
download | gitea-4697735c8da31fb0c48686e0b02634df86de1319.tar.gz gitea-4697735c8da31fb0c48686e0b02634df86de1319.zip |
Adjust error for already locked db and prevent level db lock on malformed connstr (#18923)
This PR adjusts the error returned when there is failure to lock the level db, and
permits a connections to the same leveldb where there is a different connection string.
Reference #18921
Reference #18917
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'models/statistic.go')
0 files changed, 0 insertions, 0 deletions