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:
[email protected]