create-apollo-suite-monorepo 1.0.906 → 1.0.910

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.mjs +6 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1589,7 +1589,12 @@ module.exports = {
1589
1589
  script: 'node_modules/next/dist/bin/next',
1590
1590
  args: 'start',
1591
1591
  env: { NODE_ENV: 'production', PORT: BACKEND_PORT },
1592
- max_memory_restart: '1G',
1592
+ // apollo-suite idles at ~850 MB–1.2 GB resident, so 1G here let PM2's
1593
+ // memory check SIGKILL the backend mid-request whenever it did real
1594
+ // work (bulk deletes, empty trash) — nginx then answered 502 for every
1595
+ // request in flight. bbg-corporate, apollo-landing and thamc each hit
1596
+ // this and raised the ceiling by hand; 2G clears the busy baseline.
1597
+ max_memory_restart: '2G',
1593
1598
  autorestart: true,
1594
1599
  },
1595
1600
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-apollo-suite-monorepo",
3
- "version": "1.0.906",
3
+ "version": "1.0.910",
4
4
  "description": "Scaffold a monorepo with a frontend app and Apollo CMS as a git submodule backend (single-origin via Next.js rewrites + assetPrefix)",
5
5
  "bin": {
6
6
  "create-apollo-suite-monorepo": "index.mjs"