Skip to content

Commit

Permalink
Disable redact middleware by default
Browse files Browse the repository at this point in the history
  • Loading branch information
runabol committed Sep 12, 2023
1 parent 63f5c56 commit 65a808b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/sample.config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ enabled = false
rps = 20 # requests per second per IP

[middleware.job.redact]
enabled = true
enabled = false

[worker]
address = "localhost:8001"
Expand Down
2 changes: 1 addition & 1 deletion pkg/engine/coordinator.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (e *Engine) initCoordinator() error {
}

// redact
redactJobEnabled := conf.BoolDefault("middleware.job.redact.enabled", true)
redactJobEnabled := conf.BoolDefault("middleware.job.redact.enabled", false)
if redactJobEnabled {
cfg.Middleware.Job = append(cfg.Middleware.Job, job.Redact)
}
Expand Down

0 comments on commit 65a808b

Please sign in to comment.