diff options
author | Thomas Citharel <tcit@tcit.fr> | 2024-11-20 10:05:13 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2024-11-20 10:07:29 +0100 |
commit | d3068f5db54da56692133e3ee6fe7bc9184681ce (patch) | |
tree | f5fcfd6ad689aaa08d2529e7b9ed597ec993ac6f /apps/dav/lib/BackgroundJob | |
parent | d334773b9868561db86209bbf801d2835f182a7b (diff) | |
download | nextcloud-server-d3068f5db54da56692133e3ee6fe7bc9184681ce.tar.gz nextcloud-server-d3068f5db54da56692133e3ee6fe7bc9184681ce.zip |
feat(dav): increase default calendar subscription refresh rate to one daydav-webcal-default-refresh-rate
With the performance benefits from #43541 it makes sense
Reference https://github.com/nextcloud/server/issues/46171#issuecomment-2487910923
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/lib/BackgroundJob')
-rw-r--r-- | apps/dav/lib/BackgroundJob/RefreshWebcalJob.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php b/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php index f9d6de9db59..e96735ca50b 100644 --- a/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php +++ b/apps/dav/lib/BackgroundJob/RefreshWebcalJob.php @@ -41,8 +41,8 @@ class RefreshWebcalJob extends Job { $this->fixSubscriptionRowTyping($subscription); - // if no refresh rate was configured, just refresh once a week - $defaultRefreshRate = $this->config->getAppValue('dav', 'calendarSubscriptionRefreshRate', 'P1W'); + // if no refresh rate was configured, just refresh once a day + $defaultRefreshRate = $this->config->getAppValue('dav', 'calendarSubscriptionRefreshRate', 'P1D'); $refreshRate = $subscription[RefreshWebcalService::REFRESH_RATE] ?? $defaultRefreshRate; $subscriptionId = $subscription['id']; |