mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 00:53:12 +00:00
afc05129f1
The loop ran indefinitely if the condition isn't met. Before, each iteration created a new timer channel which was always outpaced by the other timer channel with smaller duration. minor detail: There was a memory leak: resources of the ~10 previous timers were constantly kept. With the fix, we may keep the resources of one timer around for defaultWait but this isn't worth the changes to make it right. Signed-off-by: machine424 <ayoubmrini424@gmail.com> |
||
---|---|---|
.. | ||
fixtures | ||
file_test.go | ||
file.go |