File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1207,15 +1207,15 @@ protected static function writeStatisticsToStatusFile()
1207
1207
// For child processes.
1208
1208
/** @var Worker $worker */
1209
1209
$ worker = current (self ::$ _workers );
1210
- $ wrker_status_str = posix_getpid () . "\t" . str_pad (round (memory_get_usage (true ) / (1024 * 1024 ), 2 ) . "M " ,
1210
+ $ worker_status_str = posix_getpid () . "\t" . str_pad (round (memory_get_usage (true ) / (1024 * 1024 ), 2 ) . "M " ,
1211
1211
7 ) . " " . str_pad ($ worker ->getSocketName (),
1212
1212
self ::$ _maxSocketNameLength ) . " " . str_pad (($ worker ->name === $ worker ->getSocketName () ? 'none ' : $ worker ->name ),
1213
1213
self ::$ _maxWorkerNameLength ) . " " ;
1214
- $ wrker_status_str .= str_pad (ConnectionInterface::$ statistics ['connection_count ' ],
1214
+ $ worker_status_str .= str_pad (ConnectionInterface::$ statistics ['connection_count ' ],
1215
1215
11 ) . " " . str_pad (ConnectionInterface::$ statistics ['total_request ' ],
1216
1216
14 ) . " " . str_pad (ConnectionInterface::$ statistics ['send_fail ' ],
1217
1217
9 ) . " " . str_pad (ConnectionInterface::$ statistics ['throw_exception ' ], 15 ) . "\n" ;
1218
- file_put_contents (self ::$ _statisticsFile , $ wrker_status_str , FILE_APPEND );
1218
+ file_put_contents (self ::$ _statisticsFile , $ worker_status_str , FILE_APPEND );
1219
1219
}
1220
1220
1221
1221
/**
You can’t perform that action at this time.
0 commit comments