0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 17:04:12 -05:00
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 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 upgrade to most recent bluemonday (#11007) 2020-04-07 23:08:47 +03:00
beorn7/perks
blevesearch Upgrade bleve to v1.0.10 (#12737) 2020-09-06 18:51:14 -04:00
boombuler/barcode Update github.com/pquerna/otp from untagged to v1.2.0 (#11358) 2020-05-10 15:50:16 +03:00
bradfitz/gomemcache
BurntSushi/toml
chris-ramon/douceur upgrade to most recent bluemonday (#11007) 2020-04-07 23:08:47 +03:00
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 [Vendor] mssqldb: 2019-11-28 -> 2020-04-28 (#11364) 2020-05-10 18:42:52 +01:00
dgrijalva/jwt-go
dlclark/regexp2 Update to go-org 1.3.2 (#12728) 2020-09-05 11:45:10 -04:00
dsnet/compress Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
dustin/go-humanize
editorconfig/editorconfig-core-go/v2
emirpasic/gods
ethantkoenig/rupture
fatih Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
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 Exclude generated files from language statistics (#11653) 2020-05-29 09:20:01 +03:00
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 Update github.com/issue9/identicon from untagged to v1.0.1 (#11359) 2020-05-10 06:23:17 -04:00
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 OAuth2: add Yandex provider (#8335) (#10564) 2020-03-05 00:08:52 +02:00
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 Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
microcosm-cc/bluemonday upgrade to most recent bluemonday (#11007) 2020-04-07 23:08:47 +03:00
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 [Vendor] blevesearch v0.8.1 -> v1.0.7 (#11360) 2020-05-10 06:40:54 +01:00
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 Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
olekukonko/tablewriter Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
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 Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
pkg/errors Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
pmezard/go-difflib
pquerna/otp Update github.com/pquerna/otp from untagged to v1.2.0 (#11358) 2020-05-10 15:50:16 +03:00
prometheus
PuerkitoBio Upgrade xorm to v1.0.3 (#12210) 2020-07-11 17:07:52 -04:00
quasoft/websspi
RoaringBitmap/roaring [Vendor] blevesearch v0.8.1 -> v1.0.7 (#11360) 2020-05-10 06:40:54 +01:00
rs/xid Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
sergi/go-diff Migrate to go-git/go-git v5.0.0 (#10735) 2020-03-17 12:19:58 -04:00
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 [Vendor] blevesearch v0.8.1 -> v1.0.7 (#11360) 2020-05-10 06:40:54 +01:00
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 [Vendor] blevesearch v0.8.1 -> v1.0.7 (#11360) 2020-05-10 06:40:54 +01:00
toqueteos/webbrowser Exclude generated files from language statistics (#11653) 2020-05-29 09:20:01 +03:00
tstranex/u2f
ulikunitz/xz Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
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 Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
yohcop/openid-go github.com/yohcop/openid-go update to first tagged version (#11357) 2020-05-10 09:53:04 +01:00
yuin Vendor update: github.com/yuin/goldmark v1.2.1 (#12377) 2020-07-30 12:27:23 -04:00