Skip to content

Commit

Permalink
feat:optimize worker daemon code
Browse files Browse the repository at this point in the history
  • Loading branch information
bingcool committed Jun 1, 2024
1 parent f477805 commit 3fa983f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Test/WorkerDaemon/PipeWorkerProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public function loopHandle()
});
}, $a, $b);

var_dump('start start');
sleep(15);
var_dump("end end end ");
var_dump('start start, pid='.$this->getPid());
sleep(10);
var_dump("end end end,pid=".$this->getPid());
}

// public function run()
Expand Down

0 comments on commit 3fa983f

Please sign in to comment.