From 3a34fe22647bc259e8f902bb86afcea5782a87a9 Mon Sep 17 00:00:00 2001 From: Adhidarma Hadiwinoto <me@adhisimon.org> Date: Tue, 30 Jul 2019 22:06:59 +0700 Subject: [PATCH] Perbesar circular buffer history jadi 1000 --- lib/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/history.js b/lib/history.js index 8a2f122..0744d30 100644 --- a/lib/history.js +++ b/lib/history.js @@ -1,7 +1,7 @@ 'use strict'; const CircularBuffer = require("circular-buffer"); -const history = new CircularBuffer(200); +const history = new CircularBuffer(1000); function push(item) { history.push(item); -- 1.9.0