This commit is contained in:
2020-10-21 16:17:45 +08:00
parent 609c836965
commit 5925cdee25
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ class OnWorkerStart extends Callback
*/
private function get_process_name($socket, $worker_id)
{
$prefix = rtrim(Config::get('id', 'system:'), ':');
$prefix = rtrim(Config::get('id',false, 'system:'), ':');
if ($worker_id >= $socket->setting['worker_num']) {
return $prefix . ': Task: No.' . $worker_id;
} else {