Keep product migrate from crashing the API on large image copies.

PM2 was restarting at 512MB while Sharp cached buffers, which returned 502 to the migrate UI after categories had already succeeded.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-30 15:02:40 +03:30
co-authored by Cursor
parent a5f2f8d63b
commit 73588db1c6
2 changed files with 144 additions and 123 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ module.exports = {
env: {
NODE_ENV: 'production',
},
max_memory_restart: '512M',
max_memory_restart: '2G',
time: true,
},
],