Add caching to the hc and fix resource stuff

This commit is contained in:
Owen
2026-04-27 14:29:57 -07:00
parent 61aaa5a832
commit 28dd06c41f
9 changed files with 140 additions and 122 deletions

View File

@@ -267,7 +267,7 @@ export async function createTarget(
healthCheck[0].orgId,
healthCheck[0].targetHealthCheckId,
healthCheck[0].name,
undefined,
healthCheck[0].targetId,
undefined,
false, // dont send the alert because we just want to create the alert, not notify users yet
trx
@@ -278,7 +278,7 @@ export async function createTarget(
healthCheck[0].orgId,
healthCheck[0].targetHealthCheckId,
healthCheck[0].name,
undefined,
healthCheck[0].targetId,
undefined,
false, // dont send the alert because we just want to create the alert, not notify users yet
trx
@@ -288,7 +288,7 @@ export async function createTarget(
healthCheck[0].orgId,
healthCheck[0].targetHealthCheckId,
healthCheck[0].name,
undefined,
healthCheck[0].targetId,
undefined,
false, // dont send the alert because we just want to create the alert, not notify users yet
trx