geo bufer

This commit is contained in:
Alex Holliday committed 2026-02-24 18:44:47 +00:00
1 parent 705ecf41c2
commit 5a74411ea2
3 files changed
+44 -15

No files matched your search

-2
View File
@@ -106,9 +106,7 @@ const GeoCheckSchema = new Schema<GeoCheckDocument>(
GeoCheckSchema.index({ "metadata.monitorId": 1, createdAt: -1 });
GeoCheckSchema.index({ "metadata.monitorId": 1, createdAt: 1 });
GeoCheckSchema.index({ "metadata.monitorId": 1, "results.location.continent": 1, createdAt: -1 });
GeoCheckSchema.index({ "metadata.teamId": 1, createdAt: -1 });
GeoCheckSchema.index({ "metadata.teamId": 1, "results.status": 1, createdAt: -1 });
GeoCheckSchema.index({ createdAt: 1 });
const GeoCheckModel = model<GeoCheckDocument>("GeoCheck", GeoCheckSchema);