Hi,
BackgrounDRb 1.2 is being unleashed.
in the client side itself. For example:
>> MiddleMan.worker(:foo_worker).async_bar(:args => {:age => 10}) BackgrounDRb::RemoteWorkerError: BackgrounDRb::RemoteWorkerError
Above exception is thrown because remote worker doesn’t have method “bar” defined on it.
Similarly:
>> MiddleMan.worker(:foo_worker).checksum(:args => {:age => “lolz”}) BackgrounDRb::RemoteWorkerError: BackgrounDRb::RemoteWorkerError
Above exception is thrown because remote worker’s checksum method expects an integer as an argument.
For asynchronous method calls, BackgrounDRb doesn’t check if method ran successfully, it only checks existence of methods on remote worker. For sync method calls it checks if method ran successfully or not.
crash the worker now. All the unhandled exceptions and dispatch errors can be found in debug log file.
to thread pool.
persistent queues.
**