remove tag cache

This commit is contained in:
HgO 2022-07-06 01:05:56 +02:00
parent a3b13e3796
commit 9173eb04e3

View file

@ -41,9 +41,7 @@ async def create_alert(request: web_request.Request) -> web.Response:
return web.Response(status=500)
fingerprints = tuple(alert["fingerprint"] for alert in data["alerts"])
cache.set(
event.event_id, fingerprints, expire=config.cache_expire_time, tag="event"
)
cache.set(event.event_id, fingerprints, expire=config.cache_expire_time)
return web.Response(status=200)