Skip to content

Commit

Permalink
fix typo in logging of substreams stats
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Jan 29, 2025
1 parent 1e6ea8b commit 52e2eb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/release-notes/change-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## v1.12.4

### Server

* Fix log regression on 'substreams request stats' (bad value for production_mode/tier)

## v1.12.3

### Server
Expand Down
2 changes: 1 addition & 1 deletion service/tier1.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ func (s *Tier1Service) Blocks(
logger.Info("incoming Substreams Blocks request", fields...)

var reqStats *metrics.Stats
ctx, reqStats = setupRequestStats(ctx, request.OutputModule, outputModuleHash, true, true)
ctx, reqStats = setupRequestStats(ctx, request.OutputModule, outputModuleHash, request.ProductionMode, false)
defer reqStats.LogAndClose()

metrics.SubstreamsCounter.Inc()
Expand Down

0 comments on commit 52e2eb7

Please sign in to comment.