File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ like this:
71
71
end
72
72
73
73
Once this hook is made available to your job (either by way of
74
- inheritence or ` extend ` ), it will be run before the job's ` perform `
74
+ inheritance or ` extend ` ), it will be run before the job's ` perform `
75
75
method is called. Hooks of each type are executed in alphabetical order,
76
76
so ` before_perform_a ` will always be executed before ` before_perform_b ` .
77
77
An unnamed hook (` before_perform ` ) will be executed first.
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def redis=(server)
57
57
end
58
58
59
59
# Encapsulation of encode/decode. Overwrite this to use it across Resque.
60
- # This defaults to JSON for backwards compatibilty .
60
+ # This defaults to JSON for backwards compatibility .
61
61
def coder
62
62
@coder ||= JsonCoder . new
63
63
end
@@ -240,7 +240,7 @@ def size(queue)
240
240
# start and count should be integer and can be used for pagination.
241
241
# start is the item to begin, count is how many items to return.
242
242
#
243
- # To get the 3rd page of a 30 item, paginatied list one would use:
243
+ # To get the 3rd page of a 30 item, paginated list one would use:
244
244
# Resque.peek('my_list', 59, 30)
245
245
def peek ( queue , start = 0 , count = 1 )
246
246
result = queue ( queue ) . slice ( start , count )
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def self.create(options = {})
18
18
end
19
19
20
20
#
21
- # Sets the current backend. Expects a class descendent of
21
+ # Sets the current backend. Expects a class descendant of
22
22
# `Resque::Failure::Base`.
23
23
#
24
24
# Example use:
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ def self.sequence_length(scanner)
81
81
82
82
private
83
83
84
- # Read another byte off the scanner oving the scan position forward one place
84
+ # Read another byte off the scanner moving the scan position forward one place
85
85
#
86
86
# Returns nothing.
87
87
def self . check_next_sequence ( scanner )
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ databases 16
82
82
83
83
# Set the max number of connected clients at the same time. By default there
84
84
# is no limit, and it's up to the number of file descriptors the Redis process
85
- # is able to open. The special value '0' means no limts .
85
+ # is able to open. The special value '0' means no limits .
86
86
# Once the limit is reached Redis will close all the new connections sending
87
87
# an error 'max number of clients reached'.
88
88
You can’t perform that action at this time.
0 commit comments