Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

drop monitor store cleanup

Developers Digest11d074e1f391
diff --git a/apps/api/src/services/monitoring/store.ts b/apps/api/src/services/monitoring/store.ts
index 7a273c032..2cec0f79b 100644
--- a/apps/api/src/services/monitoring/store.ts
+++ b/apps/api/src/services/monitoring/store.ts
@@ -17,8 +17,6 @@ import type {
UpdateMonitorRequest,
} from "./types";
-const DEFAULT_MONITOR_CRAWL_LIMIT = 10_000;
-
export function hashMonitorUrl(url: string): string {
return `\\x${createHash("sha256").update(url).digest("hex")}`;
}
@@ -38,7 +36,7 @@ function estimateTargetCredits(target: MonitorTarget): number {
const limit =
typeof target.crawlOptions?.limit === "number"
? target.crawlOptions.limit
- : DEFAULT_MONITOR_CRAWL_LIMIT;
+ : 10000;
return Math.max(1, limit);
}