]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: hlua_fcn: add Patref:add_bulk()
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 26 Nov 2024 12:03:23 +0000 (13:03 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Fri, 29 Nov 2024 06:23:48 +0000 (07:23 +0100)
commit884dc6232ad821748d4358443202fef03f688d4c
tree953db500d6385116aacef472242d8306d664141f
parent9ee37de5cf3fb8b61ec8801c01a1f599e6d4a938
MINOR: hlua_fcn: add Patref:add_bulk()

There is no cli equivalent for this one. It is similar to Patref:add()
excepts thay it takes a table as parameter (for acl: table of keys, for
maps: table of keys:values). The goal is to add multiple entries at once
to limit locking time to the strict minimum. It is recommended to use this
one over Patref:add() when adding multiple entries at once.
doc/lua-api/index.rst
src/hlua_fcn.c