Commit f7b4fef
authored
reduce the time Dispatch.Group holds the mutex (#4670)
* reduce the time Dispatch.Group holds the mutex
Signed-off-by: Ethan Hunter <ehunter@hudson-trading.com>
* add comment explaining behavior
Signed-off-by: Ethan Hunter <ehunter@hudson-trading.com>
* switch from manual map clone to maps.Clone
Signed-off-by: Ethan Hunter <ehunter@hudson-trading.com>
---------
Signed-off-by: Ethan Hunter <ehunter@hudson-trading.com>1 parent e2b746b commit f7b4fef
1 file changed
+17
-2
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 | | |
| |||
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
286 | 292 | | |
287 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
288 | 303 | | |
289 | 304 | | |
290 | 305 | | |
291 | 306 | | |
292 | 307 | | |
293 | 308 | | |
294 | 309 | | |
295 | | - | |
| 310 | + | |
296 | 311 | | |
297 | 312 | | |
298 | 313 | | |
| |||
0 commit comments