jbilcke-hf's picture
jbilcke-hf HF staff
working on AI Tube search engine
b8c4528
raw
history blame
No virus
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?
})
*/