Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions application/forms/ConfigForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Icinga\Module\Feeds\Forms;

use Icinga\Data\ResourceFactory;
use Icinga\Forms\ConfigForm as IcingaConfigForm;

class ConfigForm extends IcingaConfigForm
Expand All @@ -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,
]);
}
Expand Down
2 changes: 1 addition & 1 deletion doc/03-Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down