feat: add warmup images command

This commit is contained in:
2025-12-09 00:13:03 +03:00
parent 359395b7e8
commit ecd372dad3
4 changed files with 249 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ use Console\Commands\PulseSendEventsCommand;
use Console\Commands\ScheduleListCommand;
use Console\Commands\ScheduleRunCommand;
use Console\Commands\VersionCommand;
use Console\Commands\WarmupImagesCacheCommand;
use Monolog\Handler\RotatingFileHandler;
use Monolog\Logger;
use Openguru\OpenCartFramework\QueryBuilder\Connections\MySqlConnection;
@@ -64,7 +65,7 @@ $items = Arr::mergeArraysRecursively($json, [
],
'store' => [
'oc_store_id' => 0,
'oc_default_currency' => 1,
'oc_default_currency' => 'RUB',
'oc_config_tax' => false,
],
'orders' => [
@@ -94,4 +95,5 @@ $console->add($app->get(VersionCommand::class));
$console->add($app->get(ScheduleRunCommand::class));
$console->add($app->get(ScheduleListCommand::class));
$console->add($app->get(PulseSendEventsCommand::class));
$console->add($app->get(WarmupImagesCacheCommand::class));
$console->run();