LY-GO

Results comments of LY-GO

> ### Issue description > This part of the code ( https://github.com/apache/apisix/blob/master/apisix/plugins/limit-req.lua#L70-L80) > can be replaced with "`local key = (ctx.var[conf.key] or "") .. ctx.conf_type .. ctx.conf_version`" . If i...

> > with "`local key = (ctx.var[conf.key] or "") .. ctx.conf_type .. ctx.conf_version`" . > > this style can support `service_id` and `consumer_id` at the same time. @LY-GO That means...

> > i hope that the plugin only limit concurrency,and different users also continue to request the router when user request the service after first . > > What is...

> I think you should provide a complete case, we need to know more detailed step information. > > Mainly two questions: > > 1. What is the route data?...

> Otherwise it will cause an assertion failure in lua-resty-limit-traffic. Boy,you are so good,i like you;just the question.

Sorry,my English not better;one issue : add service_id as key to plugin limit-*,i mean that.

> 1. you need to use a better title. > 2. one issue for one thing: add `service_id` as key to plugin `limit-*`, do you mean this? now i set...

> > 2. now i set key in the following way,but service_id is nil.Why is that? > > do you bind any service to route? yes ![services](https://user-images.githubusercontent.com/67543312/96976436-6d480180-154e-11eb-9eae-4e6133e9819f.png)

> > 2. now i set key in the following way,but service_id is nil.Why is that? > > do you bind any service to route? we can use core.var.service_id to...

> this old version dashboard, so it not support `service_id` as key. new version supports service_id as key?my version is 1.5,Is there any other version