Sha256: 44121bca9ccc19b76dfc65cc7072ba3628aeb191a41bece47c52a9faf5e42010
Contents?: true
Size: 1.36 KB
Versions: 6
Compression:
Stored size: 1.36 KB
Contents
Hi, BackgrounDRb 1.2 is being unleashed. * New features: ** Exceptions/errors are now popped out at the earliest moment 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. ** Its possible to have per worker configuration options now. * Bug Fixes ** Much better error/exception handling. Rogue worker methods shouldn't crash the worker now. All the unhandled exceptions and dispatch errors can be found in debug log file. ** Fixes for postgres db with persistent job queues. ** Switched to lightweight Queue implementation for tasks enqueued to thread pool. ** Fixes for database dropped connections while running tasks from persistent queues. ** Fixes for newer Rails versions. **
Version data entries
6 entries across 6 versions & 1 rubygems