Class: ForemanRemoteExecutionCore::Dispatcher

Inherits:
ForemanTasksCore::Runner::Dispatcher
  • Object
show all
Defined in:
lib/foreman_remote_execution_core/dispatcher.rb

Instance Method Summary collapse

Instance Method Details

#refresh_intervalObject



6
7
8
9
# File 'lib/foreman_remote_execution_core/dispatcher.rb', line 6

def refresh_interval
  @refresh_interval ||= ForemanRemoteExecutionCore.settings[:runner_refresh_interval] ||
                          ForemanRemoteExecutionCore.runner_class::DEFAULT_REFRESH_INTERVAL
end