Commit 902e149b authored by Mark Harding's avatar Mark Harding

(chore): reduce memory to 300M to test SIGKILL failover #2545

parent a3bb24b4
No related merge requests found
Pipeline #116696466 running with stages
......@@ -8,7 +8,7 @@ COPY . /dist
RUN npm install pm2 -g
CMD pm2-runtime /dist/server \
--max-memory-restart 1G \
--max-memory-restart 300M \
--instances 2
VOLUME ["/dist"]
\ No newline at end of file
......@@ -205,3 +205,5 @@ app.get('*', cache(), (req, res) => {
app.listen(PORT, () => {
console.log(`Node server listening on http://localhost:${PORT}`);
});
app.keepAliveTimeout = 65000;
Please register or to comment