From c7920734b4819d34855a73fcdf125511d6149d88 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 28 Feb 2022 16:36:29 -0800 Subject: [PATCH] Queue.batch_limit - Simplify docblock comments --- CRM/Queue/DAO/Queue.php | 6 +++--- CRM/Queue/Service.php | 2 +- xml/schema/Queue/Queue.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CRM/Queue/DAO/Queue.php b/CRM/Queue/DAO/Queue.php index c3f532711f..557116317b 100644 --- a/CRM/Queue/DAO/Queue.php +++ b/CRM/Queue/DAO/Queue.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Queue/Queue.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:0d2a970bc280fd92df3b3b25ec0d42d0) + * (GenCodeChecksum:e6121756b8122fe6b2bbb1287548f07e) */ /** @@ -65,7 +65,7 @@ class CRM_Queue_DAO_Queue extends CRM_Core_DAO { public $runner; /** - * Maximum number of items in a batch. Tip: If you expand batch_limit, then also consider expanding lease_time. + * Maximum number of items in a batch. * * @var int|string * (SQL type: int unsigned) @@ -203,7 +203,7 @@ class CRM_Queue_DAO_Queue extends CRM_Core_DAO { 'name' => 'batch_limit', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Batch Limit'), - 'description' => ts('Maximum number of items in a batch. Tip: If you expand batch_limit, then also consider expanding lease_time.'), + 'description' => ts('Maximum number of items in a batch.'), 'required' => TRUE, 'where' => 'civicrm_queue.batch_limit', 'default' => '1', diff --git a/CRM/Queue/Service.php b/CRM/Queue/Service.php index db55233762..5807911505 100644 --- a/CRM/Queue/Service.php +++ b/CRM/Queue/Service.php @@ -90,7 +90,7 @@ class CRM_Queue_Service { * - is_persistent: bool, optional; if true, then this queue is loaded from `civicrm_queue` list * - runner: string, optional; if given, then items in this queue can run * automatically via `hook_civicrm_queueRun_{$runner}` - * - batch_limit: int, Maximum number of items in a batch. Tip: If you expand batch_limit, then also consider expanding lease_time. + * - batch_limit: int, Maximum number of items in a batch. * - lease_time: int, When claiming an item (or batch of items) for work, how long should the item(s) be reserved. (Seconds) * - retry_limit: int, Number of permitted retries. Decreases with each retry. Zero (0) to disable. Null for system default. * - retry_interval: int, Number of seconds to wait before retrying a failed execution. diff --git a/xml/schema/Queue/Queue.xml b/xml/schema/Queue/Queue.xml index 53752e9550..947e907f01 100644 --- a/xml/schema/Queue/Queue.xml +++ b/xml/schema/Queue/Queue.xml @@ -86,7 +86,7 @@ int unsigned true 1 - Maximum number of items in a batch. Tip: If you expand batch_limit, then also consider expanding lease_time. + Maximum number of items in a batch. 5.48 Text -- 2.25.1