<?php declare(strict_types=1);
namespace Shopware\Core\Framework\MessageQueue\ScheduledTask;
use Shopware\Core\Framework\Log\Package;
/**
* @deprecated tag:v6.5.0 - reason:remove-subscriber - Will be removed, as we use the default symfony retry mechanism
*/
#[Package('core')]
class RequeueDeadMessagesTask extends ScheduledTask
{
public static function getTaskName(): string
{
return 'requeue_dead_messages';
}
public static function getDefaultInterval(): int
{
return 300; //every 5 min
}
}