Port delayed_job_attempt_threshold from #93.

Thanks to @tadast for contributing this.