From d563ce2feb94029d3dd518830790573077f84b16 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Mon, 4 May 2020 23:35:16 +0200 Subject: Min frequency should be 0 by default --- config.yml.example | 4 ++-- pkg/config/config.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.yml.example b/config.yml.example index 52eae0a..ef78d70 100644 --- a/config.yml.example +++ b/config.yml.example @@ -28,8 +28,8 @@ default-email: username@hostname # NB: For compatibility with old feed2imap, options existing in feed2imap can also be specified at the toplevel, # i.e. not beneath 'options'. Triggers a warning though :) options: - # Frequency in hours for checking. - min-frequency: 1 + # Frequency in hours for checking. 0 = on each run. + min-frequency: 0 # Include images referenced in the item per URL in the mail. # For instance, when a feed item includes , this image is fetched # and included in the mail. diff --git a/pkg/config/config.go b/pkg/config/config.go index 8d97a56..8e2aff6 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -50,7 +50,7 @@ type Options struct { // Default feed options var DefaultFeedOptions = Options{ Body: "default", - MinFreq: 1, + MinFreq: 0, InclImages: true, EmbedImages: false, IgnHash: false, -- cgit v1.2.3-54-g00ecf