Commit ef7b4d0
Update Pool from Future to Concurrent::Promises
This PR updates SolidQueue::Pool from the deprecated Concurrent::Future
to the more "promising" (sorry) Concurrent::Promises API.
Rational:
The Promises based API is documented as preferred over the Future API.
Concurrent::Promises are more performant and deadlock resistant --
Good Things(tm) for SolidQueue.
Given Concurrent::Promises where released 2018, there is little "new" or
"not battle tested" risk with this change.1 parent dd3c00f commit ef7b4d0
1 file changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
| |||
0 commit comments