Skip to content

Commit 1eb1f96

Browse files
committed
fix undefined varible
1 parent 4ba9b01 commit 1eb1f96

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Worker.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,10 @@ protected static function formatStatusData()
827827
$read_process_status = false;
828828
$total_requests = 0;
829829
$total_qps = 0;
830+
$total_connections = 0;
831+
$total_fails = 0;
832+
$total_memory = 0;
833+
$total_timers = 0;
830834
$maxLen1 = static::$_maxSocketNameLength;
831835
$maxLen2 = static::$_maxWorkerNameLength;
832836
foreach($info as $key => $value) {

0 commit comments

Comments
 (0)