def dequeue
      _, line = RRRSpec.redis.blpop(STATISTICS_UPDATER_QUEUE_KEY, 0)
      request = JSON.parse(line)

      [Taskset.new(request['taskset']), request['recalculate']]
    end
def dequeue
      _, line = RRRSpec.redis.blpop(STATISTICS_UPDATER_QUEUE_KEY, 0)
      request = JSON.parse(line)

      [Taskset.new(request['taskset']), request['recalculate']]
    end
Public: Wait for the update request.