Skip to content

Commit

Permalink
使用pcntl_async_signals替代declare
Browse files Browse the repository at this point in the history
  • Loading branch information
mrHe committed Jun 19, 2021
1 parent 572282e commit d4c6159
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tool/Worker.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
declare(ticks = 1);
//declare(ticks = 1);

namespace he\queue\tool;

Expand All @@ -9,6 +9,8 @@
use Psr\Log\LoggerInterface;
use Psr\Log\LogLevel;

pcntl_async_signals(true);

class Worker
{
/**
Expand Down

0 comments on commit d4c6159

Please sign in to comment.