Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4733

Question/Help about Map and LUA

$
0
0

@sbonar wrote:

I am using consul-template to dynamically update a map file. I am then using that map file in an ACL LUA fetch function. What I have found is that if I load the map file outside of the function, i.e. the init phase, the map file is never updated when consul-template updates the file on disk and reloads the haproxy config.

So my question is, do I just have to load the map file everytime I call the ACL function? Or is there a function I can call (that I have yet to find) that refreshes the in memory map when the haproxy cfg is reloaded? How big of a performance hit is it to load the map file for every request?

Thanks in advance

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4733

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>