Skip to content

chore: limit-req plugin code optimization #2448

Description

@Firstsawyou

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions