Skip to content

Commit

Permalink
log timer task loading
Browse files Browse the repository at this point in the history
  • Loading branch information
yycptt committed Sep 14, 2022
1 parent 7c4bdaf commit 189e6e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions service/history/queues/queue_scheduled.go
Expand Up @@ -75,6 +75,11 @@ func NewScheduledQueue(
ctx, cancel := newQueueIOContext()
defer cancel()

logger.Info("Loading timer tasks",
tag.MinQueryLevel(r.InclusiveMin.FireTime),
tag.MaxQueryLevel(r.ExclusiveMax.FireTime.Add(scheduledTaskPrecision)),
)

request := &persistence.GetHistoryTasksRequest{
ShardID: shard.GetShardID(),
TaskCategory: category,
Expand Down

0 comments on commit 189e6e1

Please sign in to comment.