-
Notifications
You must be signed in to change notification settings - Fork 0
Integrate Project Genie Continuous Building #59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -107,6 +107,19 @@ module.exports = { | |
| COMPUTE_MODE: 'local', | ||
| ALWAYS_ON: 'true' | ||
| } | ||
| }, | ||
| { | ||
| name: 'project-genie', | ||
| script: './scripts/genesis.cjs', | ||
| autorestart: true, | ||
| watch: false, | ||
| max_memory_restart: '300M', | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The memory limit of |
||
| restart_delay: 5000, | ||
| env: { | ||
| GENESIS_LOOP: 'true', | ||
| FORCE_MUTATION: 'true', | ||
| ALWAYS_ON: 'true' | ||
| } | ||
|
Comment on lines
+118
to
+122
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To maintain consistency with the core services defined in this configuration (see line 107), the |
||
| } | ||
| ] | ||
| }; | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The memory limit of
300Mis relatively low for a process performing 'continuous building' tasks. Node.js build processes (even simulated ones) often require significant heap memory for operations like file processing or AST manipulation. If the process exceeds this limit, PM2 will restart it, which could lead to a crash loop and instability. Consider increasing this to512Mor1Gto provide more headroom.