forgejo-federation/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 update chroma to v0.8.0 (#12337) 2020-07-27 13:18:02 -04:00
andybalholm Upgrade xorm to v1.0.3 (#12210) 2020-07-11 17:07:52 -04:00
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 Server-side syntax highlighting for all code (#12047) 2020-07-01 00:34:03 +03:00
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 Update to go-git v5.1.0 (#11936) 2020-06-17 19:29:38 -04:00
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 Upgrade xorm to v1.0.3 (#12210) 2020-07-11 17:07:52 -04:00
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 [Vendor] upgrade google/go-github to v32.1.0 (#12361) 2020-07-31 15:22:34 +01:00
gorilla Server-side syntax highlighting for all code (#12047) 2020-07-01 00:34:03 +03:00
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 Update to go-git v5.1.0 (#11936) 2020-06-17 19:29:38 -04:00
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 Upgrade xorm to v1.0.3 (#12210) 2020-07-11 17:07:52 -04:00
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 Vendor update: github.com/yuin/goldmark v1.2.1 (#12377) 2020-07-30 12:27:23 -04:00