diff --git a/examples/client.rb b/examples/client.rb index e314c03..e69cb6d 100755 --- a/examples/client.rb +++ b/examples/client.rb @@ -8,7 +8,7 @@ client = Gearman::Client.new(servers) taskset = Gearman::TaskSet.new(client) -task = Gearman::Task.new('sleep', 20) +task = Gearman::Task.new('sleep', '20') task.on_complete {|d| puts d } taskset.add_task(task)