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)
82
82
end
83
83
84
84
# 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 .
87
87
#
88
88
# Call with a block to set the hook.
89
89
# Call with no arguments to return the hook.
@@ -119,7 +119,7 @@ def pop(queue)
119
119
decode redis . lpop ( "queue:#{ queue } " )
120
120
end
121
121
122
- # Returns an int representing the size of a queue.
122
+ # Returns an integer representing the size of a queue.
123
123
# Queue name should be a string.
124
124
def size ( queue )
125
125
redis . llen ( "queue:#{ queue } " ) . to_i
You can’t perform that action at this time.
0 commit comments