diff --git a/README.md b/README.md index b85bd0d..1a31c2f 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Run jobs with multi process. | 脚本多进程执行 allot(function() { // RETURN OR YIELD JOBS IN MASTER PROCESS... @@ -31,7 +31,7 @@ Run jobs with multi process. | 脚本多进程执行 }); ## Options - \Jorker\JobForkerManager::__construct($limit, $options) + \Jorker\JobForker::__construct($limit, $options) @param int $limit | Sub process limit. 使用多少个子进程 @param array $options | configs. 配置项 diff --git a/src/JobForker.php b/src/JobForker.php index 20d99ff..a087403 100644 --- a/src/JobForker.php +++ b/src/JobForker.php @@ -67,7 +67,7 @@ class JobForker protected $statistics; /** - * JobForkerManager constructor. + * JobForker constructor. * @param int $limit 进程数量 * @param array $options * options e.g.