Configure num workers with THREADS env