jbilcke-hf's picture
jbilcke-hf HF staff
working on some new features
3d4392e
raw
history blame
341 Bytes
import { Redis } from "@upstash/redis"
import { Query } from "@upstash/query"
import { redisToken, redisUrl } from "./config"
export const redis = new Redis({
url: redisUrl,
token: redisToken
})
/*
const q = new Redis({
url: redisUrl,
token: redisToken,
automaticDeserialization: false, // redis query needs it to false?
})
*/