Sha256: 9b958c0a82e666178db2e0e43ae37c0efed30da21a63d5ae58abae53b1fd1320

Contents?: true

Size: 220 Bytes

Versions: 5

Compression:

Stored size: 220 Bytes

Contents

require 'rubygems'
require 'gearman'
require 'gearman/server'
require 'pp'

Gearman::Util.debug = true
w = Gearman::Server.new('localhost:4730')

loop { 
  pp "Status: ", w.status 
  pp "Workers: ", w.workers
  sleep 5
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
xing-gearman-ruby-1.0.0 examples/server.rb
xing-gearman-ruby-1.1.0 examples/server.rb
xing-gearman-ruby-1.2.0 examples/server.rb
xing-gearman-ruby-1.3.0 examples/server.rb
xing-gearman-ruby-1.3.1 examples/server.rb