Skip to content

Commit 17ca311

Browse files
committed
extend buffer to limit per report type
1 parent 0889dc1 commit 17ca311

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

index.src.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,8 +1073,11 @@ <h3 id="notify-observers" algorithm>
10731073

10741074
2. Append |report| to the <a>report buffer</a> associated with |environment|.
10751075

1076-
3. If the <a>report buffer</a> now contains more than 100 reports, remove the
1077-
item at the beginning of the <a>report buffer</a>.
1076+
3. Let |type| be |report|'s <a>type</a>.
1077+
1078+
4. If the <a>report buffer</a> now contains more than 100 reports
1079+
with <a>type</a> equal to |type|, remove the earliest item with <a>type</a>
1080+
equal to |type| in the <a>report buffer</a>.
10781081

10791082
<h3 id="add-report" algorithm>
10801083
Add |report| to |observer|

0 commit comments

Comments
 (0)