mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-28 08:43:36 +00:00
8 lines
337 B
JavaScript
8 lines
337 B
JavaScript
// Mutates plugin metadata fixtures for config reload E2E scenarios.
|
|
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");
|