From 07033c55b683e26f58c3313668caaeca4afc89ad Mon Sep 17 00:00:00 2001 From: Viktor Masicek Date: Fri, 24 May 2024 17:06:14 +0200 Subject: [PATCH 1/3] =?UTF-8?q?Podpora=20d=C3=A1vkov=C3=A9ho=20vkl=C3=A1d?= =?UTF-8?q?=C3=A1n=C3=AD=20z=C3=A1znam=C5=AF=20do=20DB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DI/BackgroundQueueExtension.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DI/BackgroundQueueExtension.php b/src/DI/BackgroundQueueExtension.php index ee99f11..7781dbb 100644 --- a/src/DI/BackgroundQueueExtension.php +++ b/src/DI/BackgroundQueueExtension.php @@ -35,6 +35,7 @@ public function getConfigSchema(): Schema 'tempDir' => Expect::string()->required(), 'locksDir' => Expect::string()->required(), 'queue' => Expect::string()->required(), + 'bulkSize' => Expect::int(1)->min(1), 'priorities' => Expect::arrayOf(Expect::int()->min(1))->default([1])->mergeDefaults(false), 'connection' => Expect::anyOf('string', Expect::arrayOf('int|string|object', 'string')), 'tableName' => Expect::string('background_job'), From a04170e73a9ce745320191be37ed5a156be8d40b Mon Sep 17 00:00:00 2001 From: Viktor Masicek Date: Fri, 24 May 2024 17:06:20 +0200 Subject: [PATCH 2/3] =?UTF-8?q?Podpora=20ukl=C3=A1d=C3=A1n=C3=AD=20paramet?= =?UTF-8?q?r=C5=AF=20pro=20spu=C5=A1t=C4=9Bn=C3=AD=20jobu=20ve=20form?= =?UTF-8?q?=C3=A1tu=20JSON?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DI/BackgroundQueueExtension.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DI/BackgroundQueueExtension.php b/src/DI/BackgroundQueueExtension.php index 7781dbb..a6544bc 100644 --- a/src/DI/BackgroundQueueExtension.php +++ b/src/DI/BackgroundQueueExtension.php @@ -46,6 +46,7 @@ public function getConfigSchema(): Schema 'onError' => Expect::type('callable')->nullable(), 'onAfterProcess' => Expect::type('callable')->nullable(), 'onProcessingGetMetadata' => Expect::type('callable')->nullable(), + 'parametersFormat' => Expect::string()->nullable(), ]); } From d244a23bc7bd4bb6bd3ef2be482da4bebf76c83f Mon Sep 17 00:00:00 2001 From: Viktor Masicek Date: Fri, 24 May 2024 17:10:08 +0200 Subject: [PATCH 3/3] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e3680c3..c74ab25 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "license": "MIT", "require": { "php": "^7.4|^8.0", - "adt/background-queue": "^4.21", + "adt/background-queue": "^4.22", "nette/di": "^2.4|^3.0", "nette/schema": "^1.2" },