Skip to content

Passing SIGINT signals inside the application. #843

Description

@anwesh-b

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:

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions