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.
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!