mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-21 19:37:41 +00:00
Update trending.go
This commit is contained in:
parent
b763e6f875
commit
3a5e504ba7
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ func (tc *trendingConsumer) Consume(delivery rmq.Delivery) {
|
|||
|
||||
middlePost := tps.Count / 2
|
||||
medianScore := tps.Children[middlePost].Score
|
||||
tc.logger.Debug("calculated median score",
|
||||
tc.logger.Info("calculated median score",
|
||||
zap.Int64("subreddit#id", id),
|
||||
zap.String("subreddit#name", subreddit.NormalizedName()),
|
||||
zap.Int64("score", medianScore),
|
||||
|
|
Loading…
Reference in a new issue