Fix redis connection timeout
We don't need to start it at this point And it could lead to issues when nodejs is compiling peertube using sync calls
This commit is contained in:
parent
8f5a1f36b5
commit
cea093bca5
1 changed files with 0 additions and 4 deletions
4
server/middlewares/cache/cache.ts
vendored
4
server/middlewares/cache/cache.ts
vendored
|
@ -1,10 +1,6 @@
|
|||
import { HttpStatusCode } from '../../../shared/models/http/http-error-codes'
|
||||
import { Redis } from '../../lib/redis'
|
||||
import { ApiCache, APICacheOptions } from './shared'
|
||||
|
||||
// Ensure Redis is initialized
|
||||
Redis.Instance.init()
|
||||
|
||||
const defaultOptions: APICacheOptions = {
|
||||
excludeStatus: [
|
||||
HttpStatusCode.FORBIDDEN_403,
|
||||
|
|
Loading…
Add table
Reference in a new issue