Sha256: 1dcb75e7428c981e1d49f72b0556ccd7940881750bd0134618811a580c6900ce

Contents?: true

Size: 213 Bytes

Versions: 2

Compression:

Stored size: 213 Bytes

Contents

require_relative 'error.rb'

DRbQS.define_server(:check_alive => 300) do |server, argv, opts|
  server.queue.add(DRbQS::Task.new(TaskError.new, :exec))
  server.add_hook(:finish) do |serv|
    serv.exit
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
drbqs-0.1.1 examples/error_task/server_def.rb
drbqs-0.1.0 examples/error_task/server_def.rb