#8276 but for okhttp dispatchers, which are default to an unbounded thread pool:
|
public static Dispatcher newDispatcher() { |
|
return new Dispatcher( |
|
new ThreadPoolExecutor( |
|
0, |
|
Integer.MAX_VALUE, |
|
60, |
|
TimeUnit.SECONDS, |
|
new SynchronousQueue<>(), |
|
createThreadFactory("okhttp-dispatch"))); |
|
} |
#8276 but for okhttp dispatchers, which are default to an unbounded thread pool:
opentelemetry-java/exporters/sender/okhttp/src/main/java/io/opentelemetry/exporter/sender/okhttp/internal/OkHttpUtil.java
Lines 32 to 41 in 420f052