Skip to content

Commit

Permalink
Disable transfers in loki-local-config.yaml (#1579)
Browse files Browse the repository at this point in the history
* Disable transfers in loki-local-config.yaml

#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
  • Loading branch information
rfratto authored and cyriltovena committed Jan 24, 2020
1 parent 790ba40 commit 887f0cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/loki/loki-local-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ingester:
final_sleep: 0s
chunk_idle_period: 5m
chunk_retain_period: 30s
max_transfer_retries: 1
max_transfer_retries: 0

schema_config:
configs:
Expand Down
1 change: 1 addition & 0 deletions production/helm/loki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ config:
chunk_idle_period: 3m
chunk_block_size: 262144
chunk_retain_period: 1m
max_transfer_retries: 0
lifecycler:
ring:
kvstore:
Expand Down

0 comments on commit 887f0cc

Please sign in to comment.