Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Correctly mark jobs that aren't actually reserved.

  • Loading branch information...
commit f1c14a46ec1447c3c91f3b99a37627a16a702755 1 parent 8915c23
authored July 20, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/beanstalk-client/connection.rb
2  lib/beanstalk-client/connection.rb
@@ -194,7 +194,7 @@ def read_job(word)
194 194
       id, bytes = check_resp(word).map{|s| s.to_i}
195 195
       body = read_bytes(bytes)
196 196
       raise 'bad trailer' if read_bytes(2) != "\r\n"
197  
-      [id, body]
  197
+      [id, body, word == 'RESERVED']
198 198
     end
199 199
 
200 200
     def read_yaml(word)

0 notes on commit f1c14a4

Please sign in to comment.
Something went wrong with that request. Please try again.