I understand my contributions may be rejected for any reason
I understand my contributions are for the benefit of this imageboard software
I understand my contributions are licensed under the GNU AGPLv3
[x] I understand all of the above
This adds a 30s rate limit to the CREATE/api/v1/json/image endpoint.
Note: seeing as this uses the limit_plug, anyone with staff Role will be exempt from it.
If you want to change the timeout, please see line 11 in image_controller.ex
Before you begin
I understand my contributions may be rejected for any reason
I understand my contributions are for the benefit of this imageboard software
I understand my contributions are licensed under the GNU AGPLv3
[x] I understand all of the above
This adds a 30s rate limit to the
CREATE
/api/v1/json/image
endpoint. Note: seeing as this uses the limit_plug, anyone with staff Role will be exempt from it.If you want to change the timeout, please see line 11 in
image_controller.ex