Skip to content

Calls # not increasing after 2 #73

@elmoby

Description

@elmoby

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions