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 [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 2020-09-01 10:01:23 -04:00
aymerick/douceur
beorn7/perks
blevesearch Upgrade bleve to v1.0.10 (#12737) 2020-09-06 18:51:14 -04:00
boombuler/barcode
bradfitz/gomemcache
BurntSushi/toml
chris-ramon/douceur
couchbase Upgrade bleve to v1.0.10 (#12737) 2020-09-06 18:51:14 -04:00
couchbaselabs/go-couchbase
danwakefield/fnmatch
davecgh/go-spew
denisenkom/go-mssqldb
dgrijalva/jwt-go
dlclark/regexp2 Update to go-org 1.3.2 (#12728) 2020-09-05 11:45:10 -04:00
dsnet/compress
dustin/go-humanize
editorconfig/editorconfig-core-go/v2
emirpasic/gods
ethantkoenig/rupture
fatih
fsnotify/fsnotify [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 2020-09-01 10:01:23 -04:00
gliderlabs/ssh
glycerine/go-unsnap-stream
go-enry
go-git
go-openapi [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 2020-09-01 10:01:23 -04:00
go-redis/redis/v7 Allow common redis and leveldb connections (#12385) 2020-09-28 00:09:46 +03:00
go-sql-driver/mysql
go-stack/stack
go-swagger/go-swagger [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 2020-09-01 10:01:23 -04:00
go-testfixtures/testfixtures/v3 go-sqlite3 gomod version (#12490) 2020-08-14 09:54:46 +08:00
gobwas/glob
gogs
golang [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 2020-09-01 10:01:23 -04:00
golang-sql/civil
google
gorilla
hashicorp [Vendor] Update xanzy/go-gitlab v0.31.0 => v0.37.0 (#12701) 2020-09-06 11:37:53 -04:00
huandu/xstrings
imdario/mergo
issue9/identicon
jaytaylor/html2text
jbenet/go-context
jessevdk/go-flags
json-iterator/go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
kballard/go-shellquote
kevinburke/ssh_config
keybase/go-crypto
klauspost Macaron 1.5 (#12596) 2020-08-27 22:47:17 -04:00
kr [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 2020-09-01 10:01:23 -04:00
lafriks/xormstore
lib/pq Switch to absolute latest pq driver (#12859) 2020-09-18 17:38:46 +03:00
lunny
magiconair/properties
mailru/easyjson [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 2020-09-01 10:01:23 -04:00
markbates/goth
mattn update revive lint to latest commit (#12921) 2020-09-22 20:02:16 +03:00
matttproud/golang_protobuf_extensions
mgechev update revive lint to latest commit (#12921) 2020-09-22 20:02:16 +03:00
mholt/archiver/v3
microcosm-cc/bluemonday
minio Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
mitchellh [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 2020-09-01 10:01:23 -04:00
modern-go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
mrjones/oauth
mschoch/smat
msteinert/pam
nfnt/resize Fix Avatar Resize (resize algo NearestNeighbor -> Bilinear) (#12745) 2020-09-06 20:53:33 +01:00
niklasfasching/go-org Update to go-org 1.3.2 (#12728) 2020-09-05 11:45:10 -04:00
nwaples/rardecode
olekukonko/tablewriter
oliamb/cutter
olivere/elastic/v7
pelletier/go-toml update revive lint to latest commit (#12921) 2020-09-22 20:02:16 +03:00
philhofer/fwd
pierrec/lz4
pkg/errors
pmezard/go-difflib
pquerna/otp
prometheus
PuerkitoBio
quasoft/websspi
RoaringBitmap/roaring
rs/xid Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
sergi/go-diff
shurcooL
siddontang/go-snappy
spf13 [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 2020-09-01 10:01:23 -04:00
steveyen/gtreap
stretchr/testify [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 2020-09-01 10:01:23 -04:00
subosito/gotenv [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 2020-09-01 10:01:23 -04:00
syndtr/goleveldb
tinylib/msgp
toqueteos/webbrowser
tstranex/u2f
ulikunitz/xz
unknwon Update gitea.com/macaron/i18n (#12806) 2020-09-10 16:32:58 -05:00
urfave/cli
willf/bitset
xanzy [Vendor] Update xanzy/go-gitlab v0.31.0 => v0.37.0 (#12701) 2020-09-06 11:37:53 -04:00
xi2/xz
yohcop/openid-go
yuin