1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 13:49:13 -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 switch to use gliderlabs/ssh for builtin server (#7250) 2019-07-06 21:28:09 -04:00
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 Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
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 Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
BurntSushi/toml Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
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 Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
danwakefield/fnmatch Server-side syntax highlighting for all code (#12047) 2020-07-01 00:34:03 +03:00
davecgh/go-spew Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
denisenkom/go-mssqldb [Vendor] mssqldb: 2019-11-28 -> 2020-04-28 (#11364) 2020-05-10 18:42:52 +01:00
dgrijalva/jwt-go workaround broken drone build (#7362) 2019-07-06 16:16:43 +01:00
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 Show download count info in release list (#10124) 2020-02-03 21:50:37 +02:00
editorconfig/editorconfig-core-go/v2 upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 (#8501) 2019-10-15 22:24:16 +01:00
emirpasic/gods Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
ethantkoenig/rupture Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
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 switch to use gliderlabs/ssh for builtin server (#7250) 2019-07-06 21:28:09 -04:00
glycerine/go-unsnap-stream Upgrade blevesearch to v0.8.1 (#9177) 2019-11-27 11:23:33 +02:00
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 Use vendored go-swagger (#8087) 2019-09-04 22:53:54 +03:00
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 Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00
gogs deps: update and fix chardet import (#9351) 2019-12-14 02:15:48 +02:00
golang [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 2020-09-01 10:01:23 -04:00
golang-sql/civil Update to github.com/lafriks/xormstore@v1.3.0 (#8317) 2019-10-02 02:32:12 +02:00
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 More expansions in template repositories (#10021) 2020-01-28 13:57:15 +00:00
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 Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
jbenet/go-context Implement git refs API for listing references (branches, tags and other) (#5354) 2018-11-27 16:52:20 -05:00
jessevdk/go-flags Use vendored go-swagger (#8087) 2019-09-04 22:53:54 +03:00
json-iterator/go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
kballard/go-shellquote Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
kevinburke/ssh_config Update src-d/go-git to v4.13.0 (#7688) 2019-07-31 12:45:42 -04:00
keybase/go-crypto update vendor keybase/go-crypto (#10234) 2020-02-11 20:58:23 +02:00
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 Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
lib/pq Switch to absolute latest pq driver (#12859) 2020-09-18 17:38:46 +03:00
lunny upgrade levelqueue to 0.1.0 (#9192) 2019-11-28 23:37:33 +08:00
magiconair/properties Use vendored go-swagger (#8087) 2019-09-04 22:53:54 +03:00
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 Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
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 Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
mschoch/smat [Vendor] blevesearch v0.8.1 -> v1.0.7 (#11360) 2020-05-10 06:40:54 +01:00
msteinert/pam Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
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 Improve handling of non-square avatars (#7025) 2019-05-25 14:46:14 +03:00
olivere/elastic/v7 Issue search support elasticsearch (#9428) 2020-02-13 14:06:17 +08:00
pelletier/go-toml update revive lint to latest commit (#12921) 2020-09-22 20:02:16 +03:00
philhofer/fwd Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
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 Update code.gitea.io/git (#3137) 2017-12-11 10:23:34 +08:00
pquerna/otp Update github.com/pquerna/otp from untagged to v1.2.0 (#11358) 2020-05-10 15:50:16 +03:00
prometheus Update swagger to 0.20.1 (#8010) 2019-08-28 08:55:22 +02:00
PuerkitoBio Upgrade xorm to v1.0.3 (#12210) 2020-07-11 17:07:52 -04:00
quasoft/websspi Add single sign-on support via SSPI on Windows (#8463) 2019-11-23 01:33:31 +02:00
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 Change markdown rendering from blackfriday to goldmark (#9533) 2019-12-31 03:53:28 +02:00
siddontang/go-snappy add other session providers (#5963) 2019-02-05 11:52:51 -05:00
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 Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
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 Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
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 Update https://github.com/urfave/cli to version 1.2.0 (#6838) 2019-05-03 08:49:14 -04:00
willf/bitset Upgrade blevesearch to v0.8.1 (#9177) 2019-11-27 11:23:33 +02:00
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