Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-2760

API hits limit value is not accurate

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 2.5 GA
    • Gateway
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

    Description

      I created a limit with value 5 per hour for my application plan (it's Fuse flights aggregator booster). I was trying to programmatically access the API using my custom key then and was getting valid response 6x times (afterwards I got expected 429 response) instead of just 5x times.

      So I think the limit is not set accurately. In fact it's "x+1" (maybe because of starting from 0) instead of "x".

      Additionaly the usage API then returns the number of total hits as 5, but in fact there were 6 hits.

      Attachments

        Activity

          People

            eloycoto Eloy Coto (Inactive)
            tremes1@redhat.com Tomas Remes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: