Skip to content

Commit 92aa047

Browse files
committed
added a description for redis client options
1 parent 2eedcbe commit 92aa047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middleware/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import getQueryTypeComplexity from '../analysis/typeComplexityAnalysis';
1616
* @param {RateLimiterSelection} rateLimiter Specify rate limiting algorithm to be used
1717
* @param {RateLimiterOptions} options Specify the appropriate options for the selected rateLimiter
1818
* @param {GraphQLSchema} schema GraphQLSchema object
19-
* @param {RedisClientOptions} RedisOptions // TODO add dsecription
19+
* @param {RedisClientOptions} RedisOptions ioredis connection options https://ioredis.readthedocs.io/en/stable/API/#new_Redis
2020
* @param {TypeWeightConfig} typeWeightConfig Optional type weight configuration for the GraphQL Schema.
2121
* Defaults to {mutation: 10, object: 1, field: 0, connection: 2}
2222
* @returns {RequestHandler} express middleware that computes the complexity of req.query and calls the next middleware

0 commit comments

Comments
 (0)