Merge pull request #4160 from jerch/tweak_serverside_buffering

tweak buffering in server.js
This commit is contained in:
Daniel Imms
2022-10-01 09:59:01 -07:00
committed by GitHub
2 changed files with 31 additions and 21 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ export class WriteBuffer {
this._bufferOffset = 0;
// If this is the first write call after the user has done some input,
// parse it immediately in an upcoming microtask to minimize reduce input,
// parse it immediately to minimize input latency,
// otherwise schedule for the next event
if (this._didUserInput) {
this._didUserInput = false;