docs · administration

Rate limits

Chirkle limits how often each IP address can do things, so one person or script can't flood the server.

The defaults

ActionLimit per IP address
Sending messages10 per 5 seconds
Editing and deleting messages20 per 10 seconds
Reactions30 per 10 seconds
Forwarding several messages20 requests per minute
Deleting several messages20 requests per minute
Creating rooms5 per minute
Opening DMs10 per minute
Marking rooms read120 per minute
Signing up20 per minute
Changing a password5 per minute
Password reset emails5 per 10 minutes

Everything else uses PocketBase's defaults.

Change them

In the admin UI, Settings → Rate limits. Changes apply at once.

Behind a proxy

The limits count per visitor's IP address. Behind a reverse proxy, start Chirkle with TRUSTED_PROXY=X-Forwarded-For, or every request seems to come from the proxy and one visitor tripping a limit trips it for everyone. See Behind a reverse proxy.

Many people behind one address (an office, a school) share its limits. If they run into them, raise the limits for the actions they hit.

Edit this page on GitHub