Skip to content

Update AWS Lambda reference in asynchronous docs#2413

Open
urbanautomaton wants to merge 1 commit intopinojs:mainfrom
urbanautomaton:update-aynchronous-aws-lambda-docs
Open

Update AWS Lambda reference in asynchronous docs#2413
urbanautomaton wants to merge 1 commit intopinojs:mainfrom
urbanautomaton:update-aynchronous-aws-lambda-docs

Conversation

@urbanautomaton
Copy link
Copy Markdown

@urbanautomaton urbanautomaton commented Mar 30, 2026

This docs page currently advises that in AWS Lambda environments, synchronous output is automatically enabled. However, since this commit that's no longer true.

This updates the docs accordingly, adjusting the advice to match the reference to sync destinations in the linked commit.

Feedback

I'm not particularly expert with Pino; is the updated advice appropriate? I've removed the reference to flushSync() since it appeared from the linked commit that sync destinations were the preferred approach, but should this still be mentioned as an alternative option?

Since [this commit](1) it's no longer true that pino automatically logs
synchronously in AWS Lambda.

This updates the docs to reflect that, adjusting the advice to match the
reference to sync destinations in the linked commit.

[1]: e1c9528
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant