From 173aca4a36993b7e6279f9c18d2ccdd6a313d8fb Mon Sep 17 00:00:00 2001
From: Adhidarma Hadiwinoto <me@adhisimon.org>
Date: Tue, 30 Jul 2019 22:22:37 +0700
Subject: [PATCH] Log redis history fetched

---
 lib/history.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/history.js b/lib/history.js
index 732e79a..c5240d8 100644
--- a/lib/history.js
+++ b/lib/history.js
@@ -20,6 +20,7 @@ function fetchFromRedis() {
                 logger.warn(`Error parsing JSON on redis history. ${e.toString()}`);
             }            
         });
+        logger.info(`History fetched from redis with ${reply.length} items.`);
     })
 }
 fetchFromRedis();
-- 
1.9.0