apex / apex/up

Passing SIGINT signals inside the application.

オープン
#843 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
8.8k
フォーク
383
PR マージ指標
30日以内にマージされた PR はありません

説明

## 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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。