From 10792a73d8f9332e77c49823ff0446a5251d0678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Rie=C3=9F?= Date: Mon, 20 Oct 2025 16:28:57 +0200 Subject: [PATCH] task: change description of cache_duration resolves #66 --- application/forms/ConfigForm.php | 5 ++--- doc/03-Configuration.md | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/application/forms/ConfigForm.php b/application/forms/ConfigForm.php index c4dde5f..aa67ff1 100644 --- a/application/forms/ConfigForm.php +++ b/application/forms/ConfigForm.php @@ -2,7 +2,6 @@ namespace Icinga\Module\Feeds\Forms; -use Icinga\Data\ResourceFactory; use Icinga\Forms\ConfigForm as IcingaConfigForm; class ConfigForm extends IcingaConfigForm @@ -21,8 +20,8 @@ public function createElements(array $formData) ]); $this->addElement('number', 'cache_duration', [ - 'label' => t('Lifetime of feed data in the cache in seconds'), - 'description' => t('Lifetime of feed data in the cache in seconds'), + 'label' => t('Update interval'), + 'description' => t('How often to check for new feed updates (in seconds)'), 'placeholder' => 43200, ]); } diff --git a/doc/03-Configuration.md b/doc/03-Configuration.md index 3d2a68a..77f0ad4 100644 --- a/doc/03-Configuration.md +++ b/doc/03-Configuration.md @@ -12,7 +12,7 @@ Example: timeout = 5 [cache] -; Lifetime of feed data in the cache in seconds +; Lifetime of feed data in the cache in seconds. This is effectively the polling rate for feeds duration = 43200 ```