def get_gunicorn_workers():
 return {'gunicorn_workers': multiprocessing.cpu_count()}

def get_gunicorn_workers ( ) : return { 'gunicorn_workers' : multiprocessing . cpu_count ( ) }
this function will return the maximum workers that can be started depending upon number of cpus present on the machine .