From 538123d5cd5d349a0b33eb2af4529d92da3c6ca3 Mon Sep 17 00:00:00 2001 From: Guillaume Clochard Date: Tue, 29 Aug 2023 22:29:59 +0200 Subject: [PATCH] add comment --- rss-to-tana/store.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rss-to-tana/store.js b/rss-to-tana/store.js index 8439cff..c01bbc5 100644 --- a/rss-to-tana/store.js +++ b/rss-to-tana/store.js @@ -12,7 +12,11 @@ client.on('reconnecting', () => Log.debug('Redis Client reconnecting...')); client.on('ready', () => Log.info('Redis Client Ready!')); // change the prefix to trash all existing ids -const storeId = (id) => `2-${id}` +// we can also connect to redis and flush the db +// +// flyctl redis connect +// > FLUSHALL +const storeId = (id) => `1-${id}` const initialize = async () => { Log.info('Connecting to Redis', REDIS_URL)