[WebProfilerBundle] limit ajax request to 100 and remove the last one
This commit is contained in:
parent
781c64cd37
commit
9ff86d6181
@ -108,6 +108,11 @@
|
||||
var rows = document.createDocumentFragment();
|
||||
|
||||
if (requestStack.length) {
|
||||
var nbOfAjaxRequest = tbodies.rows.count();
|
||||
if (nbOfAjaxRequest >= 100) {
|
||||
tbodies.deleteRow(nbOfAjaxRequest - 1);
|
||||
}
|
||||
|
||||
for (var i = 0; i < requestStack.length; i++) {
|
||||
var request = requestStack[i];
|
||||
|
||||
|
Reference in New Issue
Block a user