Merge pull request #1479 from arturadib/fix-driver
Fixing driver.js for Windows bot
This commit is contained in:
commit
921c1e82a3
@ -266,6 +266,9 @@ function sendTaskResult(snapshot, task, failure) {
|
||||
r.onreadystatechange = function sendTaskResultOnreadystatechange(e) {
|
||||
if (r.readyState == 4) {
|
||||
inFlightRequests--;
|
||||
// Retry until successful
|
||||
if (r.status !== 200)
|
||||
sendTaskResult(snapshot, task, failure);
|
||||
}
|
||||
};
|
||||
document.getElementById('inFlightCount').innerHTML = inFlightRequests++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user