Skip to content

Commit

Permalink
chore: update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Innei committed Sep 10, 2021
1 parent c5cfd75 commit 070ecb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function main() {
try {
await $`pm2 stop mx-server`
} catch {}
await $`pm2 start ./run/index.js --name mx-server`
await $`pm2 start ./run/index.js --max-memory-restart 250M --name mx-server -- --jwtSecret=CHANGETHIS!!!!!!!`
console.log('等待 15 秒')
await sleep(15000)
try {
Expand Down

0 comments on commit 070ecb2

Please sign in to comment.