Sha256: 6b599f60e98c5a52aa05e55ed644be9c0d0ff1095953870ca4899f73e02484fb
Contents?: true
Size: 323 Bytes
Versions: 68
Compression:
Stored size: 323 Bytes
Contents
module ForemanTasks module Concerns module PollingActionExtensions def poll_intervals multiplier = Setting[:foreman_tasks_polling_multiplier] || 1 # Prevent the intervals from going below 0.5 seconds super.map { |interval| [interval * multiplier, 0.5].max } end end end end
Version data entries
68 entries across 68 versions & 1 rubygems