Update Celery conf to take into account the number of cores