Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 49 lines (30 sloc) 1.39 kb
8e7af36 @gnufied version 1.2 release notes
authored
1 Hi,
2
3 BackgrounDRb 1.2 is being unleashed.
4
5 * New features:
6
7 ** Exceptions/errors are now popped out at the earliest moment
8 in the client side itself. For example:
9
10 >> MiddleMan.worker(:foo_worker).async_bar(:args => {:age => 10})
11 BackgrounDRb::RemoteWorkerError: BackgrounDRb::RemoteWorkerError
12
13 Above exception is thrown because remote worker doesn't have method
14 "bar" defined on it.
15
16 Similarly:
17
18 >> MiddleMan.worker(:foo_worker).checksum(:args => {:age => "lolz"})
19 BackgrounDRb::RemoteWorkerError: BackgrounDRb::RemoteWorkerError
20
21 Above exception is thrown because remote worker's checksum method
22 expects an integer as an argument.
23
24 For asynchronous method calls, BackgrounDRb doesn't check if method
25 ran successfully, it only checks existence of methods on remote
26 worker. For sync method calls it checks if method ran successfully
27 or not.
28
29 ** Its possible to have per worker configuration options now.
30
31 * Bug Fixes
32
33 ** Much better error/exception handling. Rogue worker methods shouldn't
34 crash the worker now. All the unhandled exceptions and dispatch
35 errors can be found in debug log file.
36
37 ** Fixes for postgres db with persistent job queues.
38
39 ** Switched to lightweight Queue implementation for tasks enqueued
40 to thread pool.
41
42 ** Fixes for database dropped connections while running tasks from
43 persistent queues.
44
45 ** Fixes for newer Rails versions.
46
47 **
48
Something went wrong with that request. Please try again.