libsignal-service-java icon indicating copy to clipboard operation
libsignal-service-java copied to clipboard

fix unnecessary threadpool-creation

Open Trolldemorted opened this issue 7 years ago • 0 comments

New OkHttpClients came with their own thread and connection pools. With newBuilder() we can create a new client with an already existing pool.

Fixes https://github.com/WhisperSystems/Signal-Android/issues/6283

See https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html for more information.

Trolldemorted avatar May 11 '17 10:05 Trolldemorted