Skip to content

Commit 5f61366

Browse files
authored
Change lease service to PinnedDispatcher
1 parent 4dc9fee commit 5f61366

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

ansible/README.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -182,27 +182,8 @@ Add a new dispatcher entry as follows.
182182
**common/scala/src/main/resources/reference.conf**
183183
```
184184
lease-service-dispatcher {
185-
type = Dispatcher
186185
executor = "thread-pool-executor"
187-
188-
# Underlying thread pool implementation is java.util.concurrent.ThreadPoolExecutor
189-
thread-pool-executor {
190-
# Min number of threads to cap factor-based corePoolSize number to
191-
core-pool-size-min = 2
192-
193-
# The core-pool-size-factor is used to determine corePoolSize of the
194-
# ThreadPoolExecutor using the following formula:
195-
# ceil(available processors * factor).
196-
# Resulting size is then bounded by the core-pool-size-min and
197-
# core-pool-size-max values.
198-
core-pool-size-factor = 2.0
199-
200-
# Max number of threads to cap factor-based corePoolSize number to
201-
core-pool-size-max = 32
202-
}
203-
# Throughput defines the number of messages that are processed in a batch
204-
# before the thread is returned to the pool. Set to 1 for as fair as possible.
205-
throughput = 5
186+
type = PinnedDispatcher
206187
}
207188
.
208189
.

0 commit comments

Comments
 (0)