Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calls # not increasing after 2 #73

Open
elmoby opened this issue Jul 20, 2018 · 1 comment
Open

Calls # not increasing after 2 #73

elmoby opened this issue Jul 20, 2018 · 1 comment

Comments

@elmoby
Copy link

elmoby commented Jul 20, 2018

I have setup a rate limit in the controller like:
@Ratelimit(methods={"POST", "GET"}, limit=100, period=10);

Using memcached storage engine which seems to be saving correctly the key. I am inspecting it with the following command: memcdump --servers=localhost

POST.GET.api.locations.cities.MY-OAUTH2-TOKEN-XYZ

But it seems the $info variable within the Service/Storage/Memcache.php is not getting modified in the upcoming API calls

Array
(
[limit] => 100
[calls] => 2
[reset] => 1532080555
)

I am always getting the same result.
Is there anything I am doing wrong ?

@vadimua757
Copy link

Same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants