aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.yml.example4
-rw-r--r--pkg/config/config.go2
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 <img src="https://some.example/foo.png">, 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,