Paul Woitaschek
02/23/2021, 5:03 PMFor most efficiency, you'll have one ConnectionPool and one Dispatcher in your process. These can be shared by many OkHttpClient instances.https://github.com/square/okhttp/issues/3372#issuecomment-304830644
e5l
02/24/2021, 10:54 AMOkHttp
engine. In other way you have to make sure that there are no other requests running by different instances of OkHttp
in the same dispatcher before close.e5l
02/24/2021, 10:54 AMPaul Woitaschek
02/24/2021, 10:56 AMe5l
02/24/2021, 11:00 AMclientCacheSize
to 1
in OkHttpConfig
?