Page MenuHomePhabricator

[native] Increase WorkerThread MPMCQueue capacity to 500
ClosedPublic

Authored by ashoat on Sep 30 2024, 11:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 2:10 PM
Unknown Object (File)
Mon, Dec 16, 2:10 PM
Unknown Object (File)
Mon, Dec 16, 2:10 PM
Unknown Object (File)
Mon, Dec 16, 2:10 PM
Unknown Object (File)
Nov 1 2024, 4:23 PM
Unknown Object (File)
Nov 1 2024, 4:23 PM
Unknown Object (File)
Nov 1 2024, 4:22 PM
Unknown Object (File)
Nov 1 2024, 4:21 PM
Subscribers

Details

Summary

In ENG-9416, we encountered a scenario where the crypto WorkerThread gets filled up and fails to enqueue new tasks.

We have recently been increasing our use of the crypto thread, and in some cases we can enqueue a lot of tasks. I think it makes sense to increase this number.

Test Plan

I haven't directly tested this. I think the change is safe because I'm just increasing a number. I'll make sure that the app builds and runs on Android before landing

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable