tobi / delayed_job

Database backed asynchronous priority queue -- Extracted from Shopify
http://tobi.github.com/delayed_job
MIT License
2.15k stars 1.25k forks source link

Hangs on Multiple Database Connection #45

Open pdanial opened 13 years ago

pdanial commented 13 years ago

I've setup a second database in my rails application and reference it with 'establish_connection' in its respective Models. What's odd, is a delayed_job task will hang on these models unless I temporarily update the connection to a localhost instance of the same database

I'm also able to successfully call the Job class directly (outside of delayed_job) from within a rails console, so I know there's no issue with the database connection itself.

Any ideas on this one? It just hangs, so I'm unable to produce any logging related to the issue.

Thanks!