I just solved a ioredis issue with this
export const redisClient = new Redis(env.REDIS_URL, {
maxRetriesPerRequest: null,
enableReadyCheck: false,
family: 6
});
which seems to an old problem.
Why does neither fly docs or redis docs include this in their examples?
The redis examples on upstash show this:
import Redis from "ioredis"
const client = new Redis("redis://default:********@fly-whatever-cache.upstash.io:6379");
await client.set('foo', 'bar');
1 Like
system
Closed
5
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.