| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2f02fba commit 289d0bf
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -415,13 +415,13 @@ if (cluster.isMaster) { | |||
| 415 | 415 | } | |
| 416 | 416 | ``` | |
| 417 | 417 | ||
| 418 | - ### `worker.kill([signal='SIGTERM'])` | ||
| 418 | + ### `worker.kill([signal])` | ||
| 419 | 419 | <!-- YAML | |
| 420 | 420 | added: v0.9.12 | |
| 421 | 421 | --> | |
| 422 | 422 | ||
| 423 | 423 | * `signal` {string} Name of the kill signal to send to the worker | |
| 424 | - process. | ||
| 424 | + process. **Default**: `'SIGTERM'` | ||
| 425 | 425 | ||
| 426 | 426 | This function will kill the worker. In the master, it does this by disconnecting | |
| 427 | 427 | the `worker.process`, and once disconnected, killing with `signal`. In the | |
| Back | FazBrowse Home | New Git URL |
0 commit comments