Skip to main content

Interface: RatelimitDatabaseConfig

Defined in: src/types/rateLimitDatabaseOptionsObject.ts:8

Properties​

db?​

optional db: number

Defined in: src/types/rateLimitDatabaseOptionsObject.ts:44

Name​

db

Description​

The redis database to to use for your redis config, default 0.

Default​

0

host?​

optional host: string

Defined in: src/types/rateLimitDatabaseOptionsObject.ts:22

Name​

host

Description​

The host ip or hostname of your redis server.


password?​

optional password: string

Defined in: src/types/rateLimitDatabaseOptionsObject.ts:36

Name​

password

Description​

The username to log into your redis server with, optional but can be configured in the settings of your redis server.


port?​

optional port: number

Defined in: src/types/rateLimitDatabaseOptionsObject.ts:15

Name​

port

Description​

The port number for your redis server.

Default​

6379

username?​

optional username: string

Defined in: src/types/rateLimitDatabaseOptionsObject.ts:29

Name​

username

Description​

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+