Skip to content

Commit

Permalink
Add noop-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBger committed Jun 25, 2024
1 parent a91a782 commit 834c98c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/tier1.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ func (s *Tier1Service) Blocks(
zap.Bool("compressed", req.Header().Get("grpc-Accept-Encoding") == "gzip"),
}
fields = append(fields, zap.Bool("production_mode", request.ProductionMode))
fields = append(fields, zap.Bool("noop_mode", request.NoopMode))
if auth := dauth.FromContext(ctx); auth != nil {
fields = append(fields,
zap.String("user_id", auth.UserID()),
Expand Down

0 comments on commit 834c98c

Please sign in to comment.