Skip to content

Commit

Permalink
Add --heapsnapshot-signal=SIGUSR2 to bsky service (#2927)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelbsky authored Nov 1, 2024
1 parent 512585a commit 8a4d06c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/bsky/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ENV NODE_ENV=production

# https://github.com/nodejs/docker-node/blob/master/docs/BestPractices.md#non-root-user
USER node
CMD ["node", "--enable-source-maps", "api.js"]
CMD ["node", "--heapsnapshot-signal=SIGUSR2", "--enable-source-maps", "api.js"]

LABEL org.opencontainers.image.source=https://github.com/bluesky-social/atproto
LABEL org.opencontainers.image.description="Bsky App View"
Expand Down

1 comment on commit 8a4d06c

@elvisisvan
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

came here from MKBHD's WaveForm (WVFRM) podcast https://youtu.be/-R9CWq5CBlk&t=3378

Please sign in to comment.