supporting internal task prioritization in resource pool
commita0eabd5c77df5d97966596b2137ff6cddcf111a2
authorYicheng Wang (Thrift) <yichengfb@fb.com>
Sat, 10 Sep 2022 01:13:19 +0000 (9 18:13 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sat, 10 Sep 2022 01:13:19 +0000 (9 18:13 -0700)
treee13b14ea2fa5f8e53d79ae272694fadd1ccaa1da
parent3767ec6cbff92399f976983a16e666bca17f2cf5
supporting internal task prioritization in resource pool

Summary:
This diff makes default executor provide two priorities.

For internal task we use NORMAL prio and for external tasks we use LOW prio so that we can prioritize internal tasks properly

Reviewed By: roddym

Differential Revision: D39325642

fbshipit-source-id: f55c1358bcce7cff9be68e5daef6553415c9eedc
third-party/thrift/src/thrift/lib/cpp2/server/ParallelConcurrencyController.cpp
third-party/thrift/src/thrift/lib/cpp2/server/ThriftServer.cpp
third-party/thrift/src/thrift/lib/cpp2/server/test/ParallelConcurrencyControllerTest.cpp