MiddleMan.backend_connections.first.connection_status will return false when
I call if from the rails instance rather than the console.

On Fri, Jan 16, 2009 at 3:40 PM, Samer Masry <[email protected]> wrote:

> This returns true even though the brdb server is down
>
> MiddleMan.backend_connections.first.connection_status
> => true
>
> I can just attempt to create a new worker and catch
> "BackgrounDRb::NoServerAvailable",  but is there a better way than this?
>
_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel

Reply via email to