Skip to content

Commit ddcee87

Browse files
Update cache-ttl.decorator.ts
1 parent dc9e340 commit ddcee87

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

packages/common/cache/decorators/cache-ttl.decorator.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ import { SetMetadata } from '../../decorators';
22
import { CACHE_TTL_METADATA } from '../cache.constants';
33

44
/**
5-
* Decorator that sets the cache ttl setting the duration for cache expiration for
6-
* Web sockets or Microservice based apps.
5+
* Decorator that sets the cache ttl setting the duration for cache expiration.
76
*
8-
* For example:
9-
* `@CacheTTL(5)`
7+
* For example: `@CacheTTL(5)`
108
*
119
* @param ttl number set the cache expiration time
1210
*

0 commit comments

Comments
 (0)