作者 邓超

x

1 <?php 1 <?php
2 2
3 -//error_reporting();  
4 -include_once __DIR__."/../vendor/autoload.php";  
5 3
6 swoole_set_process_name('php-email-sync-list-my'); 4 swoole_set_process_name('php-email-sync-list-my');
7 5
@@ -9,6 +7,8 @@ $pm = new \Swoole\Process\Manager(); @@ -9,6 +7,8 @@ $pm = new \Swoole\Process\Manager();
9 7
10 8
11 $pm->addBatch(30,function ($work_id){ 9 $pm->addBatch(30,function ($work_id){
  10 + //error_reporting();
  11 + include_once __DIR__."/../vendor/autoload.php";
12 12
13 $number = 0; 13 $number = 0;
14 14