RSSAmplifier

Paul Armstrong · Sep 26, 2022

Hacking express middleware to automatically capture request timeouts

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

When needing to run a highly available Express server with Node.js and a lot of middleware, it’s important to ensure that you don’t have any runaway processes blocking other requests. In this post, I share an easy wrapper for Express applications to always ensure every middleware is captured in a timeout loop. Continue reading…

Read on paularmstrong.dev

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.