1 parent
23844ae301
commit
d25b5dbe6d
268 files changed
+3684
-8861
No files matched your search
@@ -27,15 +27,9 @@ export const redis = withErrorLogging(
|
||||
)
|
||||
|
||||
export function createBlockingRedis() {
|
||||
return withErrorLogging(
|
||||
new Redis(config.redisUrl, { maxRetriesPerRequest: null }),
|
||||
"blocking",
|
||||
)
|
||||
return withErrorLogging(new Redis(config.redisUrl, { maxRetriesPerRequest: null }), "blocking")
|
||||
}
|
||||
|
||||
export function createSubscriberRedis() {
|
||||
return withErrorLogging(
|
||||
new Redis(config.redisUrl, { maxRetriesPerRequest: null }),
|
||||
"subscriber",
|
||||
)
|
||||
return withErrorLogging(new Redis(config.redisUrl, { maxRetriesPerRequest: null }), "subscriber")
|
||||
}
|
||||
Reference in new issue
Block a user