91a94f00f9
* Fix race conditions in the memory alerts store Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com> * Expose the GC method from store.Alerts Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com> * Use RLock/Unlock on read path Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com> * Resolve conflicts Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com> * release locks by using the defer Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com> * Revert the RWMutex back to Mutex Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com> --------- Signed-off-by: Xiaochao Dong (@damnever) <the.xcdong@gmail.com> |
||
---|---|---|
.. | ||
store.go | ||
store_test.go |