Skip to content

Commit

Permalink
checking tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eparker-tulip committed Jan 22, 2025
1 parent 08112d6 commit 06aa80d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/redispub/publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ func publishSingleMessage(p *Publication, client redis.UniversalClient, prefix s
start := time.Now()
ordinalStr := strconv.Itoa(ordinal)
staleness := float64(time.Since(time.Unix(int64(p.OplogTimestamp.T), 0)).Seconds())

written, err := publishDedupe.Run(
written := true
_, err := publishDedupe.Run(
context.Background(),
client,
[]string{
Expand All @@ -200,7 +200,7 @@ func publishSingleMessage(p *Publication, client redis.UniversalClient, prefix s
dedupeExpirationSeconds, // ARGV[1], expiration time
p.Msg, // ARGV[2], message
strings.Join(p.Channels, "$"), // ARGV[3], channels
).Bool()
).Result()

var status string
if written {
Expand Down

0 comments on commit 06aa80d

Please sign in to comment.