You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/11 11:37:12 UTC

[GitHub] [apisix] spacewander commented on issue #2709: bug: limit-count throws error casually in apisix 2.0

spacewander commented on issue #2709:
URL: https://github.com/apache/apisix/issues/2709#issuecomment-725373974


   @JanLi-air 
   Could you add this code to see what happened when limit object is incorrect?
   ```lua
       if not lim.incoming then
            for k, v in pairs(lim) do
               core.log.error("lim:", k, " ", core.json.delay_encode(v))
           end
       end
   
       local delay, remaining = lim:incoming(key, true)
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org