File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ def before_fork=(before_fork)
8282 end
8383
8484 # The `after_fork` hook will be run in the child process and is passed
85- # the current job. Any changes you make, therefor , will only live as
86- # long as the job currently being processes .
85+ # the current job. Any changes you make, therefore , will only live as
86+ # long as the job currently being processed .
8787 #
8888 # Call with a block to set the hook.
8989 # Call with no arguments to return the hook.
@@ -119,7 +119,7 @@ def pop(queue)
119119 decode redis . lpop ( "queue:#{ queue } " )
120120 end
121121
122- # Returns an int representing the size of a queue.
122+ # Returns an integer representing the size of a queue.
123123 # Queue name should be a string.
124124 def size ( queue )
125125 redis . llen ( "queue:#{ queue } " ) . to_i
You can’t perform that action at this time.
0 commit comments