tokers commented on a change in pull request #6281:
URL: https://github.com/apache/apisix/pull/6281#discussion_r803474092



##########
File path: apisix/plugins/limit-count/limit-count-redis-cluster.lua
##########
@@ -37,6 +38,10 @@ local script = [=[
     return redis.call('incrby', KEYS[1], -1)
 ]=]
 
+--- compact the redis lua script
+script = string.gsub(script, "    ", "")

Review comment:
       Can we prepare a method/function to do this?




-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

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


Reply via email to