Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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: earzur/resque-mongo
compare: master
Checking mergeability… Don't worry, you can still create the pull request.
Commits on Jan 22, 2010
@ctrochalakis ctrochalakis Fork resque-mongo 896131d
Commits on Jan 25, 2010
@ctrochalakis ctrochalakis Use host,port to initialize connection 2887528
Commits on Jan 28, 2010
@bandito bandito Styled resque 2c7d523
Commits on Feb 12, 2010
@ctrochalakis ctrochalakis Merge upstream 'resque/master'
Conflicts:
	README.markdown
	lib/resque.rb
	lib/resque/worker.rb
18b67ee
Commits on Apr 08, 2010
@ctrochalakis ctrochalakis bugfix prune_dead_workers 4a1712a
@ctrochalakis ctrochalakis Use mongo-ruby-driver 0.20+ that supports mongo find_and_modify 4036708
@ctrochalakis ctrochalakis bump v1.4.1 c640ab9
@ctrochalakis ctrochalakis Merge commit 'v1.8.0'
Conflicts:
	Rakefile
	lib/resque.rb
	lib/resque/failure/mongo.rb
	lib/resque/server/public/style.css
	lib/resque/server/views/layout.erb
	lib/resque/stat.rb
	lib/resque/version.rb
	lib/resque/worker.rb
	test/resque_test.rb
	test/worker_test.rb
c9278dd
@ctrochalakis ctrochalakis Resque::Failure.all may return a single element, make sure we use an …
…array before itarating
7b883d8
@ctrochalakis ctrochalakis Add gem install command to readme b56ac83
@ctrochalakis ctrochalakis bump 1.8.1 1c9969c
Commits on Jul 10, 2010
Erwan Arzur - add a collection keeping track of the existing queues as well as nu…
…mber of jobs

- enclose any job creation / deletion with updates to this collection
- make the +queues+ method not use distinct() which makes mongo scan the whole database, and instead use the collection previously defined
- greatly speeds up the reporting application by using this new 'queues' collection
- add a few tests to existing ones
1834b7d
Erwan Arzur - do not encode/decode job payload. This is not necessary with mongo …
…as it can directly store json documents

- add a sanitization step because BSON doesn't support 'Class' object. For such unsupported objects, we just encode them using +to_s+
- allows us to directly use a mongo query to destroy jobs (and peek them) instead of loading them and match against there content
0594c9f
Erwan Arzur - bump to 1.8.2
- change the gemspec to reflect the fork from http://github.com/ctrochalakis/resque-mongo
8c981fb
Commits on Jul 11, 2010
Erwan Arzur - removing jobs from the queue shouldn't be QueueStats' responsibilit…
…y. Moved to resque.rb
003c289
Erwan Arzur - update self.working() to remove a call to self.find() that may crea…
…te discrepancies when workers are starting and stopping rapidely (the first find() selects working workers that won't be working anymore during the call to the other find() a few ms later). This should fix an exception raised in the user interface (working.erb)
fb84a6f
Commits on Jul 12, 2010
Erwan Arzur - fix Worker.working()
- do not call .to_s when storing date objects in workers
c231bb1
Erwan Arzur - remove the redis / keys tabs from the UI until they are fixed ed51b17
Erwan Arzur - test w.job from Resque.working() before trying to get value from th…
…e worker
8c60595
Commits on Jul 20, 2010
Erwan Arzur use the environment variable MONGO to be able to specify another serv…
…er than 'localhost'
c823acf
Erwan Arzur - add a start date (@start) to the job
- self.from_hash allows to create a job instance from a hash (coming from Mongo / Redis)
- job is now a hash instance variable, not a method that makes another query to retrieve information about the job
f989203
Erwan Arzur - add logging to the Resque class
- remove commented out, obsolete code
baf089c
Erwan Arzur - display 50 items / page by default and add initial support for a co…
…unt parameter
4155802
Erwan Arzur - make sure the "knows when it started" test doesn't fail on edge cas…
…es (comparing to_s may fail on leap seconds, so we compare the number of seconds instead)
64e0a55
Erwan Arzur - strangely, on my host, the "set $0 while working" test fails becaus…
…e the Time.now.to_i doesn't give the same results (test/unit problem ?), so move the test to regular expression match instead
e9ab682
Commits on Jul 30, 2010
Nicolas Fouché Merge branch 'master' of http://github.com/defunkt/resque
Conflicts:
	Rakefile
	lib/resque.rb
	lib/resque/job.rb
	lib/resque/server.rb
	lib/resque/server/views/layout.erb
	lib/resque/version.rb
	lib/resque/worker.rb
	test/resque_test.rb
	test/test_helper.rb
8ce7646
Nicolas Fouché replaced resque.gemspec by resque-mongo.gemspec, and renamed the gem …
…to "resque-mongo"
8ed27a3
Nicolas Fouché Close the connection to MongoDB when configuring a new one. e39a4db
Something went wrong with that request. Please try again.