fix: 强制设置有效 locale 修复 vnpy_ctp CTP 登录崩溃

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-24 11:38:19 +08:00
parent f73d436077
commit d368317c1b
8 changed files with 85 additions and 16 deletions
+3 -3
View File
@@ -11,9 +11,9 @@ module.exports = {
max_memory_restart: "300M",
env: {
NODE_ENV: "production",
LANG: "C.UTF-8",
LC_ALL: "C.UTF-8",
LC_CTYPE: "C.UTF-8",
LANG: "en_US.UTF-8",
LC_ALL: "en_US.UTF-8",
LC_CTYPE: "en_US.UTF-8",
},
error_file: "/opt/qihuo/logs/pm2-error.log",
out_file: "/opt/qihuo/logs/pm2-out.log",