Implemented ping type for monitors, added cleanup for job queue
This commit is contained in:
1 parent
f3de5ce381
commit
f9f73dbc47
6 files changed
+58
-4
No files matched your search
@@ -14,6 +14,11 @@ const MonitorSchema = mongoose.Schema(
|
||||
description: {
|
||||
type: String,
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
required: true,
|
||||
enum: ["http", "ping"],
|
||||
},
|
||||
url: {
|
||||
type: String,
|
||||
required: true,
|
||||
|
||||
Reference in new issue
Block a user