Also refine the formatting of TaskRunner logging.
Before:
[2019-12-30 16:43:19] Q1 starting: OkHttp ConnectionPool
[2019-12-30 16:43:19] Q1 scheduled after 300 s: OkHttp ConnectionPool
[2019-12-30 16:43:19] Q1 finished in 94 µs: OkHttp ConnectionPool
[2019-12-30 16:43:19] Q359 scheduled after 0 µs: OkHttp www.youtube.com applyAndAckSettings
[2019-12-30 16:43:19] Q359 starting: OkHttp www.youtube.com applyAndAckSettings
[2019-12-30 16:43:19] Q361 schedule canceled (queue is shutdown): OkHttp www.youtube.com onSettings
[2019-12-30 16:43:19] Q359 finished in 382 µs: OkHttp www.youtube.com applyAndAckSettings
[2019-12-30 16:43:20] Q1 scheduled after 0 µs: OkHttp ConnectionPool
[2019-12-30 16:43:20] Q365 scheduled after 0 µs: OkHttp android-developers.googleblog.com applyAndAckSettings
[2019-12-30 16:43:20] Q1 starting: OkHttp ConnectionPool
[2019-12-30 16:43:20] Q365 starting: OkHttp android-developers.googleblog.com applyAndAckSettings
[2019-12-30 16:43:20] Q1 scheduled after 300 s: OkHttp ConnectionPool
[2019-12-30 16:43:20] Q1 finished in 151 µs: OkHttp ConnectionPool
After:
[2019-12-30 16:43:19] Q10001 starting : OkHttp ConnectionPool
[2019-12-30 16:43:19] Q10001 run again after 300 s : OkHttp ConnectionPool
[2019-12-30 16:43:19] Q10001 finished run in 94 µs: OkHttp ConnectionPool
[2019-12-30 16:43:19] Q10359 scheduled after 0 µs: OkHttp www.youtube.com applyAndAckSettings
[2019-12-30 16:43:19] Q10359 starting : OkHttp www.youtube.com applyAndAckSettings
[2019-12-30 16:43:19] Q10361 schedule canceled (queue is shutdown): OkHttp www.youtube.com onSettings
[2019-12-30 16:43:19] Q10359 finished run in 382 µs: OkHttp www.youtube.com applyAndAckSettings
[2019-12-30 16:43:20] Q10001 scheduled after 0 µs: OkHttp ConnectionPool
[2019-12-30 16:43:20] Q10365 scheduled after 0 µs: OkHttp android-developers.googleblog.com applyAndAckSettings
[2019-12-30 16:43:20] Q10001 starting : OkHttp ConnectionPool
[2019-12-30 16:43:20] Q10365 starting : OkHttp android-developers.googleblog.com applyAndAckSettings
[2019-12-30 16:43:20] Q10001 run again after 300 s : OkHttp ConnectionPool
[2019-12-30 16:43:20] Q10001 finished run in 151 µs: OkHttp ConnectionPool
1.7 KiB
Contributing
Keeping the project small and stable limits our ability to accept new contributors. We are not seeking new committers at this time, but some small contributions are welcome.
If you've found a security problem, please follow our bug bounty program.
If you've found a bug, please contribute a failing test case so we can study and fix it.
If you have a new feature idea, please build it in an external library. There are many libraries that sit on top or hook in via existing APIs. If you build something that integrates with OkHttp, tell us so that we can link it!
Before code can be accepted all contributors must complete our Individual Contributor License Agreement (CLA).
Code Contributions
Get working code on a personal branch with tests passing before you submit a PR:
./gradlew clean check
Please make every effort to follow existing conventions and style in order to keep the code as readable as possible.
Contribute code changes through GitHub by forking the repository and sending a pull request. We squash all pull requests on merge.