@cocalc/project
Version:
CoCalc: project daemon
14 lines • 802 B
JavaScript
;
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.STATUS_UPDATES_INTERVAL_S = exports.RAISE_ALERT_AFTER_MIN = exports.ALERT_DISK_FREE = exports.ALERT_LOW_PCT = exports.ALERT_MEDIUM_PCT = exports.ALERT_HIGH_PCT = void 0;
exports.ALERT_HIGH_PCT = 90;
exports.ALERT_MEDIUM_PCT = 75;
exports.ALERT_LOW_PCT = 50; // not really an alert, more a gentle indicator
exports.ALERT_DISK_FREE = 100; // MiB
exports.RAISE_ALERT_AFTER_MIN = 1; // after that many minutes of alert state, raise the alert
exports.STATUS_UPDATES_INTERVAL_S = parseInt(process.env.COCALC_STATUS_UPDATES_INTERVAL_S ?? "60");
//# sourceMappingURL=const.js.map