Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add redis pool_timeout #354

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

rfyiamcool
Copy link
Contributor

change

add redis pool_timeout.

refer

go-redis PoolTimeout doc:

https://github.com/redis/go-redis/blob/master/options.go#L107

@CLAassistant
Copy link

CLAassistant commented Aug 10, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@56quarters 56quarters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

cache/redis_client.go Outdated Show resolved Hide resolved
@56quarters 56quarters requested a review from ortuman August 10, 2023 14:00
@rfyiamcool rfyiamcool force-pushed the feat/add_redis_pool_timeout branch 2 times, most recently from 06763c3 to 535c5ba Compare August 10, 2023 14:43
@rfyiamcool rfyiamcool force-pushed the feat/add_redis_pool_timeout branch from 535c5ba to 557abd7 Compare August 10, 2023 14:44
@56quarters 56quarters merged commit c6f389c into grafana:main Aug 10, 2023
MichelHollands added a commit to grafana/loki that referenced this pull request Aug 14, 2023
**What this PR does / why we need it**:

This PR upgrades `github.com/grafana/dskit` removes Loki's dependency on
`github.com/weaveworks/common`.

The changes in dskit, apart from the migration
(grafana/dskit#356), are:

* grafana/dskit#347 
* grafana/dskit#349, which required small
changes in `pkg/canary/reader/reader.go` and `pkg/canary/writer/push.go`
* grafana/dskit#352
* grafana/dskit#354

**Which issue(s) this PR fixes**:

(none)

**Special notes for your reviewer**:

**Checklist**
- [x] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [n/a] Documentation added
- [n/a] Tests updated
- [n/a] `CHANGELOG.md` updated
- [n/a] If the change is worth mentioning in the release notes, add
`add-to-release-notes` label
- [n/a] Changes that require user attention or interaction to upgrade
are documented in `docs/sources/setup/upgrade/_index.md`
- [n/a] For Helm chart changes bump the Helm chart version in
`production/helm/loki/Chart.yaml` and update
`production/helm/loki/CHANGELOG.md` and
`production/helm/loki/README.md`. [Example
PR](d10549e)

---------

Co-authored-by: Michel Hollands <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants