Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: resque/resque
...
head fork: eventualbuddha/resque
compare: master
Checking mergeability… Don't worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Commits on May 24, 2010
Brian Donovan Fix some typos. cce7e84
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/resque.rb
View
6 lib/resque.rb
@@ -82,8 +82,8 @@ def before_fork=(before_fork)
end
# The `after_fork` hook will be run in the child process and is passed
- # the current job. Any changes you make, therefor, will only live as
- # long as the job currently being processes.
+ # the current job. Any changes you make, therefore, will only live as
+ # long as the job currently being processed.
#
# Call with a block to set the hook.
# Call with no arguments to return the hook.
@@ -119,7 +119,7 @@ def pop(queue)
decode redis.lpop("queue:#{queue}")
end
- # Returns an int representing the size of a queue.
+ # Returns an integer representing the size of a queue.
# Queue name should be a string.
def size(queue)
redis.llen("queue:#{queue}").to_i

No commit comments for this range

Something went wrong with that request. Please try again.