Skip to content

Commit

Permalink
Update ecosystem.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Revulate authored Oct 17, 2024
1 parent 4b6f065 commit 3d26043
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ecosystem.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
script: "bot.py",
interpreter: process.platform === "win32" ? "python" : "/home/actionsrunner/revbot/venv/bin/python",
interpreter_args: "-u", // Use unbuffered mode
watch: false, // Disabled watch mode to prevent frequent restarts
watch: true,
ignore_watch: [
"node_modules",
"logs",
Expand All @@ -13,6 +13,7 @@ module.exports = {
"*.db-journal",
".git"
],
instances: 1, // Ensure only one instance is started
exec_mode: "fork",
max_memory_restart: "1G",
env: {
Expand Down

0 comments on commit 3d26043

Please sign in to comment.