Skip to content

Commit

Permalink
Fix dc config
Browse files Browse the repository at this point in the history
  • Loading branch information
xwduan committed Oct 19, 2023
1 parent 068bd38 commit 5e9bd8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/history/replication/fx.go
Expand Up @@ -140,9 +140,9 @@ func SequentialTaskQueueFactoryProvider(
) ctasks.SequentialTaskQueueFactory[TrackableExecutableTask] {
return func(task TrackableExecutableTask) ctasks.SequentialTaskQueue[TrackableExecutableTask] {
if config.EnableReplicationTaskBatching() {
return NewSequentialTaskQueue(task)
return NewSequentialBatchableTaskQueue(task, nil, logger, metricsHandler)
}
return NewSequentialBatchableTaskQueue(task, nil, logger, metricsHandler)
return NewSequentialTaskQueue(task)
}
}

Expand Down

0 comments on commit 5e9bd8d

Please sign in to comment.