add maxthreads configuration for processors