From 95c6c63b85f8fb346066b2362a227676e812d835 Mon Sep 17 00:00:00 2001 From: Gergo Moricz Date: Thu, 18 Jul 2024 20:56:41 +0200 Subject: [PATCH] fix(fly): raise heap limit to 4G per process --- apps/api/fly.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/fly.toml b/apps/api/fly.toml index f7ef786f..286bc086 100644 --- a/apps/api/fly.toml +++ b/apps/api/fly.toml @@ -11,8 +11,8 @@ kill_timeout = '30s' [build] [processes] - app = 'node dist/src/index.js' - worker = 'node dist/src/services/queue-worker.js' + app = 'node --max-old-space-size=4096 dist/src/index.js' + worker = 'node --max-old-space-size=4096 dist/src/services/queue-worker.js' [http_service] internal_port = 8080