Optimize celery settings.