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:
7171 end
7272
7373Once 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 `
7575method is called. Hooks of each type are executed in alphabetical order,
7676so ` before_perform_a ` will always be executed before ` before_perform_b ` .
7777An 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)
5757 end
5858
5959 # 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 .
6161 def coder
6262 @coder ||= JsonCoder . new
6363 end
@@ -240,7 +240,7 @@ def size(queue)
240240 # start and count should be integer and can be used for pagination.
241241 # start is the item to begin, count is how many items to return.
242242 #
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:
244244 # Resque.peek('my_list', 59, 30)
245245 def peek ( queue , start = 0 , count = 1 )
246246 result = queue ( queue ) . slice ( start , count )
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def self.create(options = {})
1818 end
1919
2020 #
21- # Sets the current backend. Expects a class descendent of
21+ # Sets the current backend. Expects a class descendant of
2222 # `Resque::Failure::Base`.
2323 #
2424 # Example use:
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ def self.sequence_length(scanner)
8181
8282 private
8383
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
8585 #
8686 # Returns nothing.
8787 def self . check_next_sequence ( scanner )
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ databases 16
8282
8383# Set the max number of connected clients at the same time. By default there
8484# 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 .
8686# Once the limit is reached Redis will close all the new connections sending
8787# an error 'max number of clients reached'.
8888
You can’t perform that action at this time.
0 commit comments