Skip to content

Commit

Permalink
fix: adjust environment redis
Browse files Browse the repository at this point in the history
  • Loading branch information
William Koller committed Apr 27, 2022
1 parent 210b6c7 commit 542eb7f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/modules/cache/cache.settings.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { CacheModule as BaseCacheModule } from '@nestjs/common';
import * as redisStore from 'cache-manager-redis-store';
import { CachesRepository } from './repositories/caches.repository';

export const imports = [
BaseCacheModule.register({
store: redisStore,
url: process.env.REDIS_URL,
no_ready_check: true,
isGlobal: true,
Expand Down

0 comments on commit 542eb7f

Please sign in to comment.