Complete overhaul - changed to pm2-runtime and the excellent prerender-plugin-fscache. Working excellently!
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
module.exports = [{
|
||||
script: './server.js', // Your main Prerender server
|
||||
name: 'prerender-app',
|
||||
cwd: '/home/node',
|
||||
exec_mode: 'cluster',
|
||||
instances: process.env.PHANTOM_WORKERS || 3, // Adjust based on your CPU cores
|
||||
}];
|
||||
Reference in New Issue
Block a user