This commit is contained in:
as2252258@163.com
2021-03-26 01:41:18 +08:00
parent 197bed49f8
commit b262a3ad0a
+1 -1
View File
@@ -58,7 +58,7 @@ class Consumer extends Process
*/
public function tick(\Swoole\Process $process)
{
[$value, $startTime] = swoole_unserialize($process->read(-1));
[$value, $startTime] = swoole_unserialize($process->read());
$redis = Snowflake::app()->getRedis();