<?php
declare(strict_types=1);
namespace H1web\Blog\Service\ScheduledTask;
use Shopware\Core\Framework\MessageQueue\ScheduledTask\ScheduledTask;
class CacheInvalidateTask extends ScheduledTask
{
public static function getTaskName(): string
{
return 'h1.blog_page_cache_invalidate';
}
public static function getDefaultInterval(): int
{
return CacheInvalidateTaskHandler::TIME_DIFF_MINUTES * 60; // minutes to second
}
}