set default cooldown duration to 0 so it's not a breaking change

This commit is contained in:
Athou
2024-09-21 10:35:20 +02:00
parent 6a7d83bb45
commit 3cc93b51bb
3 changed files with 4 additions and 5 deletions

View File

@@ -212,10 +212,8 @@ public interface CommaFeedConfiguration {
/**
* Duration after which the "Fetch all my feeds now" action is available again after use to avoid spamming feeds.
*
* 0 to disable.
*/
@WithDefault("1m")
@WithDefault("0")
Duration forceRefreshCooldownDuration();
}

View File

@@ -49,6 +49,7 @@ quarkus.native.add-all-charsets=true
%test.commafeed.users.allow-registrations=true
%test.commafeed.password-recovery-enabled=true
%test.commafeed.http-client.cache.enabled=false
%test.commafeed.feed-refresh.force-refresh-cooldown-duration=1m
# prod profile overrides