#843·up

Passing SIGINT signals inside the application.

Author: anwesh-bCreated Feb 10, 2023Updated Feb 10, 2023

Prerequisites

  • I am running the latest version. (up upgrade)
  • I searched to see if the issue already exists.
  • I inspected the verbose debug output with the -v, --verbose flag.
  • Are you an Up Pro subscriber?

Description

I have an express application wrapped by up. I have following code:

javascript
process.on('SIGINT', () => {
  // Do some actions
});

As far as I know, the up is triggered once request reaches lambda. And any SIGINT signal received, reaches the up proxy, not the express application.

Is there any way to make the signal reach the application code as well?