in lib/aws/active_job/sqs/poller.rb [74:84]
def poll_foreground(queue)
config = Aws::ActiveJob::SQS.config
validate_config(queue)
queue_url = config.url_for(queue)
poller_options = poller_options(queue)
@logger.info "Foreground Polling on: #{queue} => #{queue_url} with options=#{poller_options}"
_poll(poller_options, queue_url)
end