mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
refactor: Update PROBE_MONITOR_FETCH_LIMIT default value to 10
This commit updates the default value of the PROBE_MONITOR_FETCH_LIMIT variable in the Config.ts file from 1 to 10. This change ensures that the monitor fetch limit is set to a more reasonable value, improving the efficiency of the monitoring process.
This commit is contained in:
parent
ad1e5fefc6
commit
0e53e26695
@ -47,7 +47,7 @@ if (typeof probeMonitoringWorkers === "string") {
|
||||
export const PROBE_MONITORING_WORKERS: number = probeMonitoringWorkers;
|
||||
|
||||
let monitorFetchLimit: string | number =
|
||||
process.env["PROBE_MONITOR_FETCH_LIMIT"] || 1;
|
||||
process.env["PROBE_MONITOR_FETCH_LIMIT"] || 10;
|
||||
|
||||
if (typeof monitorFetchLimit === "string") {
|
||||
monitorFetchLimit = parseInt(monitorFetchLimit);
|
||||
|
Loading…
Reference in New Issue
Block a user