Change farm password to 1722

This commit is contained in:
Muse committed 2026-12-01 22:50:36 +07:00
1 parent c957a0ffe3
commit 2efe74998c
7 files changed
+790 -8

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ const CONFIG_PATH = path.join(__dirname, 'config.json');
const GENERATE_SCRIPT = path.join(__dirname, '..', 'scripts', 'generate.js');
// Single password for the whole farm: the grid login AND every Neko
// instance's password. Must match FARM_PASSWORD in scripts/install.sh.
const FARM_PASSWORD = process.env.FARM_PASSWORD || 'pendol1722';
const FARM_PASSWORD = process.env.FARM_PASSWORD || '1722';
const NEKO_LOGIN_USER = 'pend';
const TOKEN_TTL_MS = 55 * 60 * 1000; // Neko tokens are re-fetched every 55 min
const SESSION_TTL_MS = 7 * 24 * 60 * 60 * 1000; // farm login lasts 7 days