Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Switched to real Resque and fakeredis. #44

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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.

None yet

1 participant