script_exporter icon indicating copy to clipboard operation
script_exporter copied to clipboard

Race condition when cache duration is set for a script.

Open ebusto opened this issue 1 year ago • 0 comments

Access to the cache map is unsynchronized, so there's a race condition whenever the cache duration for a script is set.

This is easy to reproduce if you use the -race flag when building or running the exporter, and fire up a couple of curl commands that run constantly in parallel.

ebusto avatar Oct 07 '24 21:10 ebusto