diff --git a/README.md b/README.md index 0aafdd1..0d8f93c 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,8 @@ startCluster(options, () => { | https | `Object` | start a https server, note: `key` / `cert` / `ca` should be full path to file | | require | `Array\|String` | will inject into worker/agent process | | pidFile | `String` | will save master pid to this file | +| startMode | `String` | default is 'process', use 'worker_threads' to start the app & agent worker by worker_threads | +| ports | `Array` | startup port of each app worker, such as: [7001, 7002, 7003], only effects when the startMode is 'worker_threads' | ## Env diff --git a/test/.DS_Store b/test/.DS_Store deleted file mode 100644 index 38feab4..0000000 Binary files a/test/.DS_Store and /dev/null differ diff --git a/test/fixtures/.DS_Store b/test/fixtures/.DS_Store deleted file mode 100644 index b8db785..0000000 Binary files a/test/fixtures/.DS_Store and /dev/null differ