fix: add every hour restart
This commit is contained in:
parent
4909143938
commit
3c6c9f9fbf
@ -8,6 +8,7 @@ module.exports = {
|
|||||||
interpreter: 'python', // 替换为您的Python解释器路径
|
interpreter: 'python', // 替换为您的Python解释器路径
|
||||||
instances: 1, // 启动一个实例
|
instances: 1, // 启动一个实例
|
||||||
autorestart: true, // 自动重启
|
autorestart: true, // 自动重启
|
||||||
|
cron_restart: '0 * * * *', // 每小时重启一次
|
||||||
env: {
|
env: {
|
||||||
XHS_API_PORT: PORT,
|
XHS_API_PORT: PORT,
|
||||||
NODE_ENV: 'production',
|
NODE_ENV: 'production',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user