'Clarification on okhttp dispatcher thread pool max threads

what is the max thread count for 1)dispatcher thread pool 2)MaxRequestsPerHost (dispatcher) 3)MaxRequests (dispatcher)



Solution 1:[1]

  1. is builtin. No need to take care yourself.
  2. 5 concurrent requests per host.
  3. 64 concurrent requests.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 S. Gissel