Add common function for getting Salt worker_threads value

Change-Id: I1ba149194d939cf6d962bc0322e9f6d6190225ae
Related-Prod: PROD-27850
1 file changed