You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
BurntSushi/toml Use Go1.11 module (#5743) 5 years ago
PuerkitoBio Upgrade xorm to v1.0.3 (#12210) 4 years ago
RoaringBitmap/roaring [Vendor] blevesearch v0.8.1 -> v1.0.7 (#11360) 4 years ago
alecthomas/chroma update chroma to v0.8.0 (#12337) 4 years ago
andybalholm Upgrade xorm to v1.0.3 (#12210) 4 years ago
anmitsu/go-shlex switch to use gliderlabs/ssh for builtin server (#7250) 5 years ago
asaskevich/govalidator [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 4 years ago
aymerick/douceur upgrade to most recent bluemonday (#11007) 4 years ago
beorn7/perks Use Go1.11 module (#5743) 5 years ago
blevesearch Upgrade bleve to v1.0.10 (#12737) 4 years ago
boombuler/barcode Update github.com/pquerna/otp from untagged to v1.2.0 (#11358) 4 years ago
bradfitz/gomemcache Use gitea forked macaron (#7933) 5 years ago
chris-ramon/douceur upgrade to most recent bluemonday (#11007) 4 years ago
couchbase Upgrade bleve to v1.0.10 (#12737) 4 years ago
couchbaselabs/go-couchbase Use gitea forked macaron (#7933) 5 years ago
danwakefield/fnmatch Server-side syntax highlighting for all code (#12047) 4 years ago
davecgh/go-spew Use Go1.11 module (#5743) 5 years ago
denisenkom/go-mssqldb [Vendor] mssqldb: 2019-11-28 -> 2020-04-28 (#11364) 4 years ago
dgrijalva/jwt-go workaround broken drone build (#7362) 5 years ago
dlclark/regexp2 Update to go-org 1.3.2 (#12728) 4 years ago
dsnet/compress Dump: add output format tar and output to stdout (#10376) 4 years ago
dustin/go-humanize Show download count info in release list (#10124) 4 years ago
editorconfig/editorconfig-core-go/v2 upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 (#8501) 5 years ago
emirpasic/gods Implement git refs API for listing references (branches, tags and other) (#5354) 6 years ago
ethantkoenig/rupture Use Go1.11 module (#5743) 5 years ago
fatih Rename scripts to build and add revive command as a new build tool command (#10942) 4 years ago
fsnotify/fsnotify [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 4 years ago
gliderlabs/ssh switch to use gliderlabs/ssh for builtin server (#7250) 5 years ago
glycerine/go-unsnap-stream Upgrade blevesearch to v0.8.1 (#9177) 5 years ago
go-enry Exclude generated files from language statistics (#11653) 4 years ago
go-git Update to go-git v5.1.0 (#11936) 4 years ago
go-openapi [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 4 years ago
go-redis/redis/v7 Allow common redis and leveldb connections (#12385) 4 years ago
go-sql-driver/mysql Upgrade xorm to v1.0.3 (#12210) 4 years ago
go-stack/stack Use vendored go-swagger (#8087) 5 years ago
go-swagger/go-swagger [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 4 years ago
go-testfixtures/testfixtures/v3 go-sqlite3 gomod version (#12490) 4 years ago
gobwas/glob Implement webhook branch filter (#7791) 5 years ago
gogs deps: update and fix chardet import (#9351) 5 years ago
golang [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 4 years ago
golang-sql/civil Update to github.com/lafriks/xormstore@v1.3.0 (#8317) 5 years ago
google [Vendor] upgrade google/go-github to v32.1.0 (#12361) 4 years ago
gorilla Server-side syntax highlighting for all code (#12047) 4 years ago
hashicorp [Vendor] Update xanzy/go-gitlab v0.31.0 => v0.37.0 (#12701) 4 years ago
huandu/xstrings More expansions in template repositories (#10021) 4 years ago
imdario/mergo Update to go-git v5.1.0 (#11936) 4 years ago
issue9/identicon Update github.com/issue9/identicon from untagged to v1.0.1 (#11359) 4 years ago
jaytaylor/html2text Use Go1.11 module (#5743) 5 years ago
jbenet/go-context Implement git refs API for listing references (branches, tags and other) (#5354) 6 years ago
jessevdk/go-flags Use vendored go-swagger (#8087) 5 years ago
json-iterator/go Add a storage layer for attachments (#11387) 4 years ago
kballard/go-shellquote Use Go1.11 module (#5743) 5 years ago
kevinburke/ssh_config Update src-d/go-git to v4.13.0 (#7688) 5 years ago
keybase/go-crypto update vendor keybase/go-crypto (#10234) 4 years ago
klauspost Macaron 1.5 (#12596) 4 years ago
kr [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 4 years ago
lafriks/xormstore Upgrade xorm to v0.8.0 (#8536) 5 years ago
lib/pq Switch to absolute latest pq driver (#12859) 4 years ago
lunny upgrade levelqueue to 0.1.0 (#9192) 5 years ago
magiconair/properties Use vendored go-swagger (#8087) 5 years ago
mailru/easyjson [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 4 years ago
markbates/goth OAuth2: add Yandex provider (#8335) (#10564) 4 years ago
mattn update revive lint to latest commit (#12921) 4 years ago
matttproud/golang_protobuf_extensions Use Go1.11 module (#5743) 5 years ago
mgechev update revive lint to latest commit (#12921) 4 years ago
mholt/archiver/v3 Dump: add output format tar and output to stdout (#10376) 4 years ago
microcosm-cc/bluemonday upgrade to most recent bluemonday (#11007) 4 years ago
minio Add a storage layer for attachments (#11387) 4 years ago
mitchellh [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 4 years ago
modern-go Add a storage layer for attachments (#11387) 4 years ago
mrjones/oauth Use Go1.11 module (#5743) 5 years ago
mschoch/smat [Vendor] blevesearch v0.8.1 -> v1.0.7 (#11360) 4 years ago
msteinert/pam Use Go1.11 module (#5743) 5 years ago
nfnt/resize Fix Avatar Resize (resize algo NearestNeighbor -> Bilinear) (#12745) 4 years ago
niklasfasching/go-org Update to go-org 1.3.2 (#12728) 4 years ago
nwaples/rardecode Dump: add output format tar and output to stdout (#10376) 4 years ago
olekukonko/tablewriter Rename scripts to build and add revive command as a new build tool command (#10942) 4 years ago
oliamb/cutter Improve handling of non-square avatars (#7025) 5 years ago
olivere/elastic/v7 Issue search support elasticsearch (#9428) 4 years ago
pelletier/go-toml update revive lint to latest commit (#12921) 4 years ago
philhofer/fwd Use Go1.11 module (#5743) 5 years ago
pierrec/lz4 Dump: add output format tar and output to stdout (#10376) 4 years ago
pkg/errors Rename scripts to build and add revive command as a new build tool command (#10942) 4 years ago
pmezard/go-difflib Update code.gitea.io/git (#3137) 7 years ago
pquerna/otp Update github.com/pquerna/otp from untagged to v1.2.0 (#11358) 4 years ago
prometheus Update swagger to 0.20.1 (#8010) 5 years ago
quasoft/websspi Add single sign-on support via SSPI on Windows (#8463) 5 years ago
rs/xid Add a storage layer for attachments (#11387) 4 years ago
sergi/go-diff Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
shurcooL Change markdown rendering from blackfriday to goldmark (#9533) 5 years ago
siddontang/go-snappy add other session providers (#5963) 5 years ago
spf13 [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 4 years ago
steveyen/gtreap [Vendor] blevesearch v0.8.1 -> v1.0.7 (#11360) 4 years ago
stretchr/testify [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 4 years ago
subosito/gotenv [Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670) 4 years ago
syndtr/goleveldb Use gitea forked macaron (#7933) 5 years ago
tinylib/msgp [Vendor] blevesearch v0.8.1 -> v1.0.7 (#11360) 4 years ago
toqueteos/webbrowser Exclude generated files from language statistics (#11653) 4 years ago
tstranex/u2f Use Go1.11 module (#5743) 5 years ago
ulikunitz/xz Dump: add output format tar and output to stdout (#10376) 4 years ago
unknwon Update gitea.com/macaron/i18n (#12806) 4 years ago
urfave/cli Update https://github.com/urfave/cli to version 1.2.0 (#6838) 5 years ago
willf/bitset Upgrade blevesearch to v0.8.1 (#9177) 5 years ago
xanzy [Vendor] Update xanzy/go-gitlab v0.31.0 => v0.37.0 (#12701) 4 years ago
xi2/xz Dump: add output format tar and output to stdout (#10376) 4 years ago
yohcop/openid-go github.com/yohcop/openid-go update to first tagged version (#11357) 4 years ago
yuin Vendor update: github.com/yuin/goldmark v1.2.1 (#12377) 4 years ago