Reduced stream poll interval
This commit is contained in:
parent
2bdf86a37d
commit
ae592ba1eb
@ -25,7 +25,11 @@ function log_stream(element, logUrl) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
setTimeout(fetchMore, 100);
|
||||
let delay = 500;
|
||||
if(json.new_output != '') {
|
||||
delay = 100;
|
||||
}
|
||||
setTimeout(fetchMore, delay);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user