change(ssr): add connected to redis message
All checks were successful
deploy / deploy (push) Successful in 1m2s
All checks were successful
deploy / deploy (push) Successful in 1m2s
This commit is contained in:
parent
016b958546
commit
5822aa70bf
@ -8,10 +8,7 @@ async function connectRedis(): Promise<any> {
|
||||
url: process.env.REDIS_URL,
|
||||
});
|
||||
await client.connect();
|
||||
|
||||
client.on("connect", () => {
|
||||
console.log("Connected to redis");
|
||||
});
|
||||
console.log("Connected to redis");
|
||||
|
||||
client.on("error", (error) => {
|
||||
console.error("There was an error connecting to redis: " + error);
|
||||
|
Loading…
Reference in New Issue
Block a user