You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/vendor
zeripath 7f8e3192cd
Allow common redis and leveldb connections (#12385)
* Allow common redis and leveldb connections

Prevents multiple reopening of redis and leveldb connections to the same
place by sharing connections.

Further allows for more configurable redis connection type using the
redisURI and a leveldbURI scheme.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* add unit-test

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per @lunny

Signed-off-by: Andrew Thornton <art27@cantab.net>

* add test

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update modules/cache/cache_redis.go

* Update modules/queue/queue_disk.go

* Update modules/cache/cache_redis.go

* Update modules/cache/cache_redis.go

* Update modules/queue/unique_queue_disk.go

* Update modules/queue/queue_disk.go

* Update modules/queue/unique_queue_disk.go

* Update modules/session/redis.go

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
4 years ago
..
cloud.google.com/go [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 4 years ago
code.gitea.io/gitea-vet Update gitea-vet to v0.2.1 (#12282) 4 years ago
gitea.com Allow common redis and leveldb connections (#12385) 4 years ago
github.com Allow common redis and leveldb connections (#12385) 4 years ago
go.etcd.io/bbolt Upgrade bleve to v1.0.10 (#12737) 4 years ago
go.jolheiser.com/pwn Check passwords against HaveIBeenPwned (#12716) 4 years ago
go.mongodb.org/mongo-driver [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 4 years ago
golang.org/x update revive lint to latest commit (#12921) 4 years ago
google.golang.org [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 4 years ago
gopkg.in Update gitea.com/macaron/i18n (#12806) 4 years ago
mvdan.cc/xurls/v2 vendor: update mvdan.cc/xurls/v2 to v2.1.0 (#8495) 5 years ago
strk.kbt.io/projects/go/libravatar Update strk.kbt.io/projects/go/libravatar to latest; closes #7860 (#8429) 5 years ago
xorm.io Upgrade xorm to v1.0.5 (#12765) 4 years ago
modules.txt Allow common redis and leveldb connections (#12385) 4 years ago