Commit 90c0b50
authored
feat!: terminate on signal without exit process (#27)
* fix: terminate on signal
- remove terminate connections on `SIGUSR1`, `SIGUSR2`
- remove `process.exit(...)` in terminate connections
- safe `process.exit(0)` in default `beforeTerminate`
* feat: remove `process.exit`
* feat: return terminate function from initDb1 parent bd953ab commit 90c0b50
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | | - | |
83 | 81 | | |
84 | 82 | | |
85 | 83 | | |
86 | 84 | | |
87 | | - | |
88 | | - | |
89 | 85 | | |
90 | 86 | | |
91 | 87 | | |
| |||
122 | 118 | | |
123 | 119 | | |
124 | 120 | | |
125 | | - | |
| 121 | + | |
126 | 122 | | |
0 commit comments