Skip to content

Conversation

@justinweiss
Copy link
Owner

It didn't make sense to copy / rewrite all of Resque, just to add some
assertions to it. Instead, I'm using fakeredis and actual Resque. That
way, all the persistence happens in-memory (so you don't need to run
Redis yourself), and I can take advantage of the built-in methods Resque
has for looking through queues and running jobs. This should be way more
reliable and easy to maintain.

Todo:

  • Get scheduler assertions working
  • Update the README

It didn't make sense to copy / rewrite *all* of Resque, just to add some
assertions to it. Instead, I'm using fakeredis and actual Resque. That
way, all the persistence happens in-memory (so you don't need to run
Redis yourself), and I can take advantage of the built-in methods Resque
has for looking through queues and running jobs. This should be way more
reliable and easy to maintain.

Currently, the regular assertions pass. I'm still working on the
scheduler assertions.
@justinweiss justinweiss changed the title Switched to real Resque and fakeredis. WIP: Switched to real Resque and fakeredis. Sep 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants