mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 00:10:43 +00:00
7 lines
268 B
JavaScript
7 lines
268 B
JavaScript
import fs from "node:fs";
|
|
|
|
const configPath = process.env.OPENCLAW_CONFIG_PATH;
|
|
const config = JSON.parse(fs.readFileSync(configPath, "utf8"));
|
|
config.gateway.channelHealthCheckMinutes = 2;
|
|
fs.writeFileSync(configPath, `${JSON.stringify(config, null, 2)}\n`, "utf8");
|