apex / apex/up

Passing SIGINT signals inside the application.

Open
#843 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
8.8k
Forks
383
PR merge metrics
No merged PRs in 30d

Description

## Prerequisites

* [x] I am running the latest version. (`up upgrade`)
* [x] 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:
```js
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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.