Skip to content

Commit 962756c

Browse files
committed
Remove test log output
1 parent acb41df commit 962756c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

backend/redis/events_future.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package redis
33
import (
44
"context"
55
"fmt"
6-
"log"
76
"strconv"
87
"time"
98

@@ -54,14 +53,12 @@ func scheduleFutureEvents(ctx context.Context, rb *redisBackend) error {
5453

5554
queueKeys := rb.workflowQueue.Keys()
5655

57-
if r, err := futureEventsCmd.Run(ctx, rb.rdb, []string{
56+
if _, err := futureEventsCmd.Run(ctx, rb.rdb, []string{
5857
futureEventsKey(),
5958
queueKeys.StreamKey,
6059
queueKeys.SetKey,
6160
}, nowStr).Result(); err != nil && err != redis.Nil {
6261
return fmt.Errorf("checking future events: %w", err)
63-
} else {
64-
log.Println("Scheduled", r.(int64), "future events")
6562
}
6663

6764
return nil

0 commit comments

Comments
 (0)