Add additional validation for number of priorties

Add additional validation for number of priorties Summary: With the current implemenetation it was possible to accidentely pass 0 as number of priorties and get "ouf_of_range" error when adding a task to the thread pool. So adding additional validation on thread pool creation Reviewed By: Orvid Differential Revision: D42836104 fbshipit-source-id: 8a59fc93e1e80ed1eb59e04b890c5dc14aea4e79

АвторBarys Skarabahaty
КоммитерFacebook GitHub Bot
2 года назад
ce2b957
Родители

Cherry-pick

Команда cherry-pick позволяет выбрать отдельные коммиты из одной ветки и применить их к другой.