Connections are either active, or held by a specific call in flight, or are in standby mode and in the pool. Limit the total number of connections by limiting the number of threads that make HTTP calls. If you use Call.execute()(synchronously), just proportionally distribute your thread pool. If you use Call.enqueue()(asynchronous), the limits are at Dispatcher.
source
share