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

Disable transfers in loki-local-config.yaml #1579

Merged
merged 2 commits into from
Jan 24, 2020

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Jan 24, 2020

#1425 added the ability to disable transfers by setting the max amount of retries to zero or lower. The PR, however, didn't change the default setting in loki-local-config.yaml.

This commit changes the setting in loki-local-config.yaml to disable transfers since they would never succeed with the default settings of an inmemory ring anyway.

#1425 added the ability to disable transfers by setting the max amount of retries to zero or lower. The PR, however, didn't change the default setting in loki-local-config.yaml. This commit changes the setting in loki-local-config.yaml to disable transfers since they would never succeed with the default settings of an inmemory ring anyway.
@rfratto rfratto force-pushed the disable-transfer-local-config branch from 0fec471 to d4186e7 Compare January 24, 2020 16:10
Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

@cyriltovena
Copy link
Contributor

Wait do you want to disable also in helm ?

@rfratto
Copy link
Member Author

rfratto commented Jan 24, 2020

Good idea, I'll do that too

@cyriltovena cyriltovena merged commit 887f0cc into master Jan 24, 2020
@cyriltovena cyriltovena deleted the disable-transfer-local-config branch January 24, 2020 20:24
mraboosk pushed a commit to mraboosk/loki that referenced this pull request Oct 7, 2024
* Disable transfers in loki-local-config.yaml

grafana#1425 added the ability to disable transfers by setting the max amount of retries to zero or lower. The PR, however, didn't change the default setting in loki-local-config.yaml. This commit changes the setting in loki-local-config.yaml to disable transfers since they would never succeed with the default settings of an inmemory ring anyway.

* Set `max_transfer_retries` to 0 in helm charts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants