Skip to content

Commit c429483

Browse files
committed
use a symbol for the poison object
symbols stay the same when marshal'd nad unmarshal'd
1 parent 56c6e4a commit c429483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resque/consumer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Resque
22
class Consumer
3-
POISON = Object.new # :nodoc:
3+
POISON = :poison # :nodoc:
44

55
class Latch # :nodoc:
66
def initialize(count = 1)

0 commit comments

Comments
 (0)