Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Commit

Permalink
feat: make default aggregator redis cache 10 minutes as opposed to di…
Browse files Browse the repository at this point in the history
…sabled
  • Loading branch information
zone117x committed Aug 18, 2020
1 parent 301138a commit 9e39d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aggregators/aggregator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export abstract class Aggregator<TResult extends Json, TArgs extends Json | void
}

expiry(args: TArgs): number | null {
return null;
return 10 * 60; // 10 minutes
}
}

0 comments on commit 9e39d79

Please sign in to comment.