Skip to content

Commit

Permalink
Remove flushed buffer from buffer request counter
Browse files Browse the repository at this point in the history
  • Loading branch information
NI committed Dec 19, 2019
1 parent cbb5161 commit db27650
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/stream/sender.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ export class Sender {
}

self.sendDelay = setTimeout(() => {
self.sendDelay = null;
self.bufferedRequests = 0;

self.subscribe.resolve(true);
}, self.bufferFlushDelay);
});
Expand Down

0 comments on commit db27650

Please sign in to comment.