Method: Concurrent::TimerTask#timeout_interval

Defined in:
lib/concurrent-ruby/concurrent/timer_task.rb,
lib/concurrent-ruby/concurrent/timer_task.rb

#timeout_intervalFixnum

Returns Number of seconds the task can run before it is considered to have failed.

Returns:

  • (Fixnum)

    Number of seconds the task can run before it is considered to have failed.



281
282
283
# File 'lib/concurrent-ruby/concurrent/timer_task.rb', line 281

def timeout_interval
  warn 'TimerTask timeouts are now ignored as these were not able to be implemented correctly'
end