Skip to content

Commit

Permalink
Quieten down enhanced EA telemetry logging
Browse files Browse the repository at this point in the history
  • Loading branch information
samsondav committed Nov 19, 2024
1 parent 940b7e6 commit a35d0eb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/services/ocrcommon/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,6 @@ func getPricesFromResultsByOrder(lggr logger.Logger, startTask pipeline.TaskRunR
// We rely on task results to be sorted in the correct order
benchmarkPriceTask := allTasks.GetNextTaskOf(startTask)
if benchmarkPriceTask == nil {
lggr.Warn("cannot parse enhanced EA telemetry benchmark price, task is nil")
return 0, 0, 0
}
if benchmarkPriceTask.Task.Type() == pipeline.TaskTypeJSONParse {
Expand All @@ -667,7 +666,6 @@ func getPricesFromResultsByOrder(lggr logger.Logger, startTask pipeline.TaskRunR

bidTask := allTasks.GetNextTaskOf(*benchmarkPriceTask)
if bidTask == nil {
lggr.Warnf("cannot parse enhanced EA telemetry bid price, task is nil, id %s", benchmarkPriceTask.Task.DotID())
return benchmarkPrice, 0, 0
}

Expand All @@ -677,7 +675,6 @@ func getPricesFromResultsByOrder(lggr logger.Logger, startTask pipeline.TaskRunR

askTask := allTasks.GetNextTaskOf(*bidTask)
if askTask == nil {
lggr.Warnf("cannot parse enhanced EA telemetry ask price, task is nil, id %s", benchmarkPriceTask.Task.DotID())
return benchmarkPrice, bidPrice, 0
}
if askTask.Task.Type() == pipeline.TaskTypeJSONParse {
Expand Down

0 comments on commit a35d0eb

Please sign in to comment.