This module is based on
koa2-ratelimit and it has reasonable default settings, but you can still use project config (default is
vulcan.yaml) to change some settings to suit your own needs.
- Whether to enable the
corsservice, you can set it to
falseto stop the
We support all options of
koa2-ratelimit, You can see all the options available to
type: time- Format refer to here
- how long should records of requests be kept in memory. Defaults to 60000 (1 minute).
- max number of connections during
intervalmilliseconds before sending a
For more detailed settings and instructions, you can refer to here.