# File lib/resque/scheduler.rb, line 200
      def enqueue_delayed_items_for_timestamp(timestamp)
        item = nil
        loop do
          handle_shutdown do
            # Continually check that it is still the master
            item = enqueue_next_item(timestamp) if master?
          end
          # continue processing until there are no more ready items in this
          # timestamp
          break if item.nil?
        end
      end