Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumewuip committed Aug 29, 2023
1 parent 7d6389b commit 538123d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rss-to-tana/store.js
Expand Up @@ -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)
Expand Down

0 comments on commit 538123d

Please sign in to comment.