Interface: RatelimitDatabaseConfig
Redis configuration for the Jova.js Rate limiter.
RatelimitDatabaseConfig
Properties
db?
optional
db:number
The redis database to to use for your redis config, default 0
.
Default
0
Defined in
types/config/rateLimitDatabaseOptionsObject.ts:38
host?
optional
host:string
The host ip or hostname of your redis server.
Defined in
types/config/rateLimitDatabaseOptionsObject.ts:19
password?
optional
password:string
The username to log into your redis server with, optional but can be configured in the settings of your redis server.
Defined in
types/config/rateLimitDatabaseOptionsObject.ts:31
port?
optional
port:number
The port number for your redis server.
Default
6379
Defined in
types/config/rateLimitDatabaseOptionsObject.ts:13
username?
optional
username:string
The username to log into your redis server with, optional but can be configured in the settings of your redis server, this requires redis v6+