Skip to content

Commit

Permalink
更新 JobConsumerManager,修改进程名称格式以包含 'Consumer' 前缀
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed Oct 12, 2024
1 parent 1ed4a9e commit 9d0e0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amqp-job/src/JobConsumerManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function run(): void

$process = $this->createProcess($instance);
$process->nums = $instance->getNums();
$process->name = $class . '-' . $instance->getQueue();
$process->name = $class . 'Consumer-' . $instance->getQueue();

ProcessManager::register($process);
}
Expand Down

0 comments on commit 9d0e0d5

Please sign in to comment.