fix(watcher): force IPv4 for PM2 and widen process-messages defaults

Avoid Gmail hang on rpi4 broken IPv6 Happy Eyeballs, and default backfill to 30d inbox / max 500.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-13 23:12:37 +07:00
co-authored by Cursor
parent 46a2e2a7b0
commit 334d688b50
3 changed files with 8 additions and 6 deletions
+3
View File
@@ -22,6 +22,9 @@ module.exports = {
env: {
NODE_ENV: "production",
WATCHER_PORT: "8083",
// Pi has broken global IPv6 (SYN-SENT via link-local); Happy Eyeballs hangs Gmail calls.
NODE_OPTIONS:
"--dns-result-order=ipv4first --no-network-family-autoselection",
},
},
],