Skip to content

Commit 099235e

Browse files
authored
Merge pull request #67 from NETWAYS/task/explain-polling-rate-66
task: change description of cache_duration
2 parents 1fe9152 + 10792a7 commit 099235e

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

application/forms/ConfigForm.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Icinga\Module\Feeds\Forms;
44

5-
use Icinga\Data\ResourceFactory;
65
use Icinga\Forms\ConfigForm as IcingaConfigForm;
76

87
class ConfigForm extends IcingaConfigForm
@@ -21,8 +20,8 @@ public function createElements(array $formData)
2120
]);
2221

2322
$this->addElement('number', 'cache_duration', [
24-
'label' => t('Lifetime of feed data in the cache in seconds'),
25-
'description' => t('Lifetime of feed data in the cache in seconds'),
23+
'label' => t('Update interval'),
24+
'description' => t('How often to check for new feed updates (in seconds)'),
2625
'placeholder' => 43200,
2726
]);
2827
}

doc/03-Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Example:
1212
timeout = 5
1313

1414
[cache]
15-
; Lifetime of feed data in the cache in seconds
15+
; Lifetime of feed data in the cache in seconds. This is effectively the polling rate for feeds
1616
duration = 43200
1717
```
1818

0 commit comments

Comments
 (0)