()
| 8339 | } |
| 8340 | function resume(client, sync) { |
| 8341 | if (client[kResuming] === 2) { |
| 8342 | return; |
| 8343 | } |
| 8344 | client[kResuming] = 2; |
| 8345 | _resume(client, sync); |
| 8346 | client[kResuming] = 0; |
| 8347 | if (client[kRunningIdx] > 256) { |
| 8348 | client[kQueue].splice(0, client[kRunningIdx]); |
| 8349 | client[kPendingIdx] -= client[kRunningIdx]; |
| 8350 | client[kRunningIdx] = 0; |
| 8351 | } |