alertmanager/ui
Fabian Reinartz b6851a5421 silences: fix concurrent cache writes (#561)
This fixes #559 by removing concurrent map writes to the matcher cache.
The cache was guarded by the Silence's main lock, which only used a
read-lock on queries.
The cache's get methods lazily loads data into the cache and thus
causing concurrent writes.

We just change the main lock to always write-lock, as we don't expect
high lock contention at this point and would have it in a dedicated
cache lock anyway.
2016-11-21 11:09:49 +01:00
..
app [ui] Save creator's e-mail address to in browser storage 2016-09-19 16:47:31 +02:00
lib Missing semi-colon 2016-10-27 13:36:52 +02:00
bindata.go silences: fix concurrent cache writes (#561) 2016-11-21 11:09:49 +01:00
web.go *: restructure package tree 2016-08-09 14:24:52 +02:00