Commit aeed449
committed
Fix global IO pool on JRuby
Use CachedThreadPool instead of configured ThreadPoolExecutor
to make sure that arriving jobs are passed to newly created threads
instead put into queue when there are no idle threads. Prevents deadlocking
when jobs depend on each other.1 parent 08a4aec commit aeed449
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
| 178 | + | |
182 | 179 | | |
183 | | - | |
184 | | - | |
185 | 180 | | |
186 | 181 | | |
187 | 182 | | |
| |||
0 commit comments