skip to Main Content

how to set "connect-redis" in typescript

Now im following the Fullstack React GraphQL TypeScript Tutorial I get trouble in connectRedis with express-session;;; import connectRedis from "connect-redis"; import session from "express-session"; ... const RedisStore = connectRedis(session); [ERROR] error TS2345: Argument of type 'typeof session' is not assignable…

VIEW QUESTION

Redis TimeoutException

I'm pushing some data to a Redis instance from a console app every few seconds. This is roughly how I'm doing it: int foo = GetFoo(); BigObject bar = GetBigObject(); _cache.StringSet("Foo", JsonConvert.SerializeObject(foo)); _cache.StringSet("Bar", JsonConvert.SerializeObject(bar)); but after a while I get…

VIEW QUESTION
Back To Top
Search