mirror of
https://github.com/square/okhttp.git
synced 2026-01-12 10:23:16 +03:00
We've got a race where we'll start a thread when we need one, even if we've already started a thread. This changes TaskRunner's behavior to never add a thread if we're still waiting for a recently-added one to start running. This is intended to reduce the number of threads contenting for the TaskRunner lock as reported in this issue: https://github.com/square/okhttp/issues/8388
OkHttp Testing Support
This module offers utilities and support for testing OkHttp itself. It's not intended for use by other projects or consumers of the OkHttp library.