handle delayed_job for deployments