GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Fork of dustin/beanstalk-client-ruby
Description: Ruby client for beanstalkd
Homepage: http://xph.us/software/beanstalkd/
Clone URL: git://github.com/kr/beanstalk-client-ruby.git
Support reserve with timeout within a pool as well.
dustin (author)
Sat Jun 07 19:34:05 -0700 2008
commit  cc2209cce53570f60695002ebd47fb9edc72653b
tree    3c5a6b5a48e33cd2e6e737ea5b1aa9c0fa3d7468
parent  43e52e503536c746e3fca1a124cabf0c8d13cae7
...
257
258
259
260
261
 
 
262
263
264
...
257
258
259
 
 
260
261
262
263
264
0
@@ -257,8 +257,8 @@ module Beanstalk
0
       send_to_rand_conn(:yput, obj, pri, delay, ttr)
0
     end
0
 
0
- def reserve()
0
- send_to_rand_conn(:reserve)
0
+ def reserve(timeout=nil)
0
+ send_to_rand_conn(:reserve, timeout)
0
     end
0
 
0
     def use(tube)

Comments

    No one has commented yet.