From d58903f61f200f28da142d23b6703a8d3006c555 Mon Sep 17 00:00:00 2001 From: Christopher Gurnee Date: Sat, 12 Mar 2022 18:38:16 +0000 Subject: [PATCH] Send almost-full comment requests to Reddit API --- src/pages/thread/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/thread/index.js b/src/pages/thread/index.js index c1a2cd2..033b5ab 100644 --- a/src/pages/thread/index.js +++ b/src/pages/thread/index.js @@ -35,7 +35,7 @@ class ChunkedQueue { this._chunks.push([x]) } - hasFullChunk = () => this._chunks[0].length >= this._chunkSize + hasFullChunk = () => this._chunks[0].length >= this._chunkSize * 0.9 isEmpty = () => this._chunks[0].length == 0 shiftChunk() {