Openstatus www.openstatus.dev

๐Ÿš‘ fix autoresolve (#743)

authored by

Thibault Le Ouay and committed by
GitHub
5671c4b6 58de334d

+1 -1
+1 -1
apps/server/src/checker/index.ts
··· 151 151 }); 152 152 153 153 if (incident) { 154 - const redisKey = `${monitorId}-${cronTimestamp}-resolved`; 154 + const redisKey = `${monitorId}-${incident.id}-resolved`; 155 155 // // We add the new region to the set 156 156 await redis.sadd(redisKey, region); 157 157 // // let's add an expire to the set