We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b2db59 commit a051650Copy full SHA for a051650
client/src/main/java/com/microsoft/durabletask/DurableTaskGrpcWorker.java
@@ -65,7 +65,7 @@ public final class DurableTaskGrpcWorker implements AutoCloseable {
65
this.sidecarClient = TaskHubSidecarServiceGrpc.newBlockingStub(sidecarGrpcChannel);
66
this.dataConverter = builder.dataConverter != null ? builder.dataConverter : new JacksonDataConverter();
67
this.maximumTimerInterval = builder.maximumTimerInterval != null ? builder.maximumTimerInterval : DEFAULT_MAXIMUM_TIMER_INTERVAL;
68
- this.workerPool = builder.executorService;
+ this.workerPool = builder.executorService != null ? builder.executorService : Executors.newCachedThreadPool();
69
}
70
71
/**
0 commit comments