Created
November 21, 2022 03:10
-
-
Save rznewswav/af1ebaea86f643a6e03a814e7e3f358b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typeof c !== 'undefined' && await c.disconnect(); c = redis.createClient({ socket: { host: process.env.REDIS_HOST }, password: process.env.REDIS_PASSWORD }); await c.connect() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment