convoy
convoy copied to clipboard
[Bug report]: Rate Limit Not Taking Effect
Describe the bug
Setting a rate limit on the endpoint does not take effect
To Reproduce
Steps to reproduce the behavior:
- Create an incoming webhooks project
- Create a source
- Create an endpoint and set the rate limit to Duration: 60 seconds and Limit: 1
- Create a subscription for the source to the endpoint
- Send message to the incoming webhook 5 times in succession
- In Event Deliveries, you will see the 5 API calls succeed
Expected behavior
In Event Deliveries, only 1 should succeed and the other 4 should be scheduled given that the rate limit is only 1 for every 60 seconds.
Stack (please complete the following information):
- Convoy: v24.1.2
Hey @jgngo,
We'll look into this.
Hey @jgngo, this has been fixed and merged. It would be out in the next release