forgejo/vendor/github.com
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>
2020-09-28 00:09:46 +03:00
..
alecthomas/chroma
andybalholm
anmitsu/go-shlex
asaskevich/govalidator
aymerick/douceur
beorn7/perks
blevesearch
boombuler/barcode
bradfitz/gomemcache
BurntSushi/toml
chris-ramon/douceur
couchbase
couchbaselabs/go-couchbase
danwakefield/fnmatch
davecgh/go-spew
denisenkom/go-mssqldb
dgrijalva/jwt-go
dlclark/regexp2
dsnet/compress
dustin/go-humanize
editorconfig/editorconfig-core-go/v2
emirpasic/gods
ethantkoenig/rupture
fatih
fsnotify/fsnotify
gliderlabs/ssh
glycerine/go-unsnap-stream
go-enry
go-git
go-openapi
go-redis/redis/v7
go-sql-driver/mysql
go-stack/stack
go-swagger/go-swagger
go-testfixtures/testfixtures/v3
gobwas/glob
gogs
golang
golang-sql/civil
google
gorilla
hashicorp
huandu/xstrings
imdario/mergo
issue9/identicon
jaytaylor/html2text
jbenet/go-context
jessevdk/go-flags
json-iterator/go
kballard/go-shellquote
kevinburke/ssh_config
keybase/go-crypto
klauspost
kr
lafriks/xormstore
lib/pq
lunny
magiconair/properties
mailru/easyjson
markbates/goth
mattn
matttproud/golang_protobuf_extensions
mgechev
mholt/archiver/v3
microcosm-cc/bluemonday
minio
mitchellh
modern-go
mrjones/oauth
mschoch/smat
msteinert/pam
nfnt/resize
niklasfasching/go-org
nwaples/rardecode
olekukonko/tablewriter
oliamb/cutter
olivere/elastic/v7
pelletier/go-toml
philhofer/fwd
pierrec/lz4
pkg/errors
pmezard/go-difflib
pquerna/otp
prometheus
PuerkitoBio
quasoft/websspi
RoaringBitmap/roaring
rs/xid
sergi/go-diff
shurcooL
siddontang/go-snappy
spf13
steveyen/gtreap
stretchr/testify
subosito/gotenv
syndtr/goleveldb
tinylib/msgp
toqueteos/webbrowser
tstranex/u2f
ulikunitz/xz
unknwon
urfave/cli
willf/bitset
xanzy
xi2/xz
yohcop/openid-go
yuin