Implemented ping type for monitors, added cleanup for job queue

This commit is contained in:
Alex Holliday committed 2024-06-14 14:31:07 -07:00
1 parent f3de5ce381
commit f9f73dbc47
6 files changed
+58 -4

No files matched your search

+5
View File
@@ -14,6 +14,11 @@ const MonitorSchema = mongoose.Schema(
description: {
type: String,
},
type: {
type: String,
required: true,
enum: ["http", "ping"],
},
url: {
type: String,
required: true,