mirror of
https://github.com/tormachris/cf-workers-status-page.git
synced 2025-09-21 16:35:15 +02:00
fix(gc): wait for gc to complete before exiting cron trigger
This commit is contained in:
@ -53,7 +53,6 @@ export async function processCronTrigger(event) {
|
||||
if (!newMetadata.operational) {
|
||||
// try to get failed daily status first as KV read is cheaper than write
|
||||
const kvFailedDayStatusKey = 'h_' + monitor.id + '_' + getDate()
|
||||
console.log(kvFailedDayStatusKey)
|
||||
const kvFailedDayStatus = await getKV(kvFailedDayStatusKey)
|
||||
|
||||
// write if not found
|
||||
|
Reference in New Issue
Block a user