Sha256: a92ab5b31f32190b3cc55b04d2a793fb39668093dc326df18bed24a6639f4cbd

Contents?: true

Size: 496 Bytes

Versions: 4

Compression:

Stored size: 496 Bytes

Contents

#
# test/idle.rb
#
# Thu Jul 26 20:34:53 JST 2012
#
# light load, for a few hours
#

require 'rufus-json/automatic'
require 'ruote'
require File.expand_path('../../functional/storage_helper', __FILE__)

sto = determine_storage({})

dboard = Ruote::Dashboard.new(Ruote::Worker.new(sto))
dboard.noisy = ENV['NOISY'].to_s == 'true'

dboard.register 'alpha' do |workitem|
  sleep(60.0 * rand)
end

loop do
  dboard.launch(Ruote.define do
    21.times { alpha }
  end)
  sleep(60.0 * 10 * rand)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruote-2.3.0.3 test/misc/light.rb
ruote-2.3.0.2 test/misc/light.rb
ruote-2.3.0.1 test/misc/light.rb
ruote-2.3.0 test/misc/light.rb