Horizon tag 标签是否可以重复?
class RenderVideo implements ShouldQueue
{
/**
* Get the tags that should be assigned to the job.
*
* @return array
*/
public function tags()
{
return ['render', 'video:'.$this->video->id];
}
}
https://learnku.com/docs/laravel/8.x/horizon/9419#9a29c2
按照laravel文档,上面这个手动给Horizon打标签的方法,$this->video->id是否可以重复
推荐文章: