Skip to content

Commit

Permalink
chore: Remove unused const
Browse files Browse the repository at this point in the history
  • Loading branch information
grobinson-grafana committed Jul 16, 2024
1 parent fc3904e commit 60175de
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions pkg/ingester-rf1/flush.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,6 @@ import (
util_log "github.com/grafana/loki/v3/pkg/util/log"
)

const (
// Backoff for retrying 'immediate' flushes. Only counts for queue
// position, not wallclock time.
flushBackoff = 1 * time.Second

nameLabel = "__name__"
logsValue = "logs"

flushReasonIdle = "idle"
flushReasonMaxAge = "max_age"
flushReasonForced = "forced"
flushReasonFull = "full"
flushReasonSynced = "synced"
)

// Note: this is called both during the WAL replay (zero or more times)
// and then after replay as well.
func (i *Ingester) InitFlushQueues() {
Expand Down

0 comments on commit 60175de

Please sign in to comment.