1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-12 10:23:16 +03:00
Files
okhttp/okhttp-testing-support
Jesse Wilson d0b6a464d8 Start fewer threads in TaskRunner (#8391)
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
2024-04-28 20:33:04 -04:00
..

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.