forgejo/modules/nosql
zeripath 5f9c18b2b3
Adjust error for already locked db and prevent level db lock on malformed connstr (#18923) (#18938)
Backport #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>
2022-02-28 15:45:38 +00:00
..
leveldb.go Allow common redis and leveldb connections (#12385) 2020-09-28 00:09:46 +03:00
manager.go [Vendor] Update go-redis to v8.5.0 (#13749) 2021-02-10 21:28:32 +00:00
manager_leveldb.go Adjust error for already locked db and prevent level db lock on malformed connstr (#18923) (#18938) 2022-02-28 15:45:38 +00:00
manager_redis.go Fix setting redis db path (#15698) 2021-05-03 13:24:24 -04:00
redis.go Allow common redis and leveldb connections (#12385) 2020-09-28 00:09:46 +03:00
redis_test.go Allow common redis and leveldb connections (#12385) 2020-09-28 00:09:46 +03:00