Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
torywheelwright committed Mar 29, 2024
1 parent d098233 commit 2b64953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redispub/publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func publishSingleMessage(p *Publication, client redis.UniversalClient, prefix s
strings.Join(p.Channels, "$"), // ARGV[3], channels
).Result()

metricLastCommandDuration.Set(time.Now().Sub(start).Seconds())
metricLastCommandDuration.Set(time.Since(start).Seconds())
return err
}

Expand Down

0 comments on commit 2b64953

Please sign in to comment.