# File lib/new_relic/agent/threading/backtrace_service.rb, line 252
        def adjust_polling_time(now, poll_start)
          duration = now - poll_start
          overhead_percent = duration / effective_polling_period

          if overhead_percent > self.overhead_percent_threshold
            scale_up_by = overhead_percent / self.overhead_percent_threshold
            worker_loop.period = effective_polling_period * scale_up_by
          else
            worker_loop.period = effective_polling_period
          end
        end