Skip to content

Commit

Permalink
Fix npe for dlq retry policy (#2923)
Browse files Browse the repository at this point in the history
  • Loading branch information
meiliang86 committed May 31, 2022
1 parent 7af6cda commit 0f34935
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/history/replication/task_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ func NewTaskProcessor(
replicationTaskFetcher.getRateLimiter(),
}),
taskRetryPolicy: taskRetryPolicy,
dlqRetryPolicy: dlqRetryPolicy,
requestChan: replicationTaskFetcher.getRequestChan(),
syncShardChan: make(chan *replicationspb.SyncShardStatus, 1),
shutdownChan: make(chan struct{}),
Expand Down

0 comments on commit 0f34935

Please sign in to comment.