[Backgroundrb-devel] What is the best way to test if the server is up?

Samer Masry enzodm at gmail.com
Fri Jan 16 19:26:38 EST 2009

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 <enzodm at gmail.com> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20090116/1fe5061f/attachment.html>

More information about the Backgroundrb-devel mailing list