Sha256: b007109dad074c63bcac5abbb0aed732867c85b8127cafa267bf455f6798408e
Contents?: true
Size: 304 Bytes
Versions: 15
Compression:
Stored size: 304 Bytes
Contents
require 'timeout' module Delayed class WorkerTimeout < Timeout::Error def message seconds = Delayed::Worker.max_run_time.to_i "#{super} (Delayed::Worker.max_run_time is only #{seconds} second#{seconds == 1 ? '' : 's'})" end end class FatalBackendError < RuntimeError; end end
Version data entries
15 entries across 15 versions & 1 rubygems