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 5887f1e commit 0aa8dea
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions ecosystem.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,8 @@ module.exports = {
script: "bot.py",
interpreter: process.platform === "win32" ? "python" : "/home/actionsrunner/revbot/venv/bin/python",
interpreter_args: "-u", // Use unbuffered mode
watch: true,
ignore_watch: [
"node_modules",
"logs",
"*.log",
"*.db",
"*.db-journal",
".git"
],
instances: 1, // Ensure only one instance is started
watch: false, // Disable watch mode
instances: 1, // Explicitly set to 1 instance
exec_mode: "fork",
max_memory_restart: "1G",
env: {
Expand All @@ -34,9 +26,6 @@ module.exports = {
autorestart: true,
instance_var: 'INSTANCE_ID',
merge_logs: true,
kill_timeout: 5000,
shutdown_with_message: true,
wait_ready: true,
max_restarts: 10,
min_uptime: "1m",
listen_timeout: 8000,
Expand Down

0 comments on commit 0aa8dea

Please sign in to comment.