-
Notifications
You must be signed in to change notification settings - Fork 56
Possible bug? #9
Comments
Yikes! You're right. I'll get this fixed ASAP. |
Fixed in 2a319ad. Version 1.1.1 is released with this fix. |
Actually, it worked as expected before. Oops. |
You wrong. Think again. |
With your proposed changed, if you hit it ever half second and set the limit to 1 second, it will only get called once. |
Once per second. |
Try the demo app in version 1.2.0. It works as expected, no? |
As YOU expected, yes. As I expected – no. |
However, this is not bug, this is design decision. If you want such behaviour, it's ok. |
Line 67 in RateLimit.swift:
You record new execution time even if decide to not execute? Is that right?
The text was updated successfully, but these errors were encountered: