bkeepers / qu

a Ruby library for queuing and processing background jobs.
MIT License
506 stars 50 forks source link

Add mongolab configuration to mongo backend #49

Closed syntheticore closed 12 years ago

syntheticore commented 12 years ago

Hello,

qu could connect to mongo hq databases on heroku automatically already. I have added a single line to make the same possible with mongolab, another provider of the same service on heroku. Would be nice if you could pull this into the main version, so that I can drop my fork again.

Best regards, Björn

bkeepers commented 12 years ago

Pulled, thanks! Too bad they both can't just use MONGO_URI or something generic. Oh well.

syntheticore commented 12 years ago

Thanks a lot! Yeah, a generic variable would be great. This way you could auto-detect the database used and configure it completely automatically. I think they do this to give us the flexibility to use any combination of service providers, but still, this sucks :/ Any idea on when the next gem version will be released?