diff --git a/.env b/.env index 925eb4d2..8b78daee 100644 --- a/.env +++ b/.env @@ -131,7 +131,8 @@ CLIENT_LOGIN_CHECK_TIMEOUT=20000 CLIENT_REFRESH_TOKEN_TIMEOUT=300000 CLIENT_RELEASE_TIMESTAMP_INTERVAL_TIMEOUT=600000 CLIENT_SCHEDULING_INTERVAL=60000 -CLIENT_PULL_STRATEGY_INTERVAL=90000 +# Interval in milliseconds for pulling new content from server. 600000 = 10 minutes. +CLIENT_PULL_STRATEGY_INTERVAL=600000 CLIENT_COLOR_SCHEME='{"type":"library","lat":56.0,"lng":10.0}' CLIENT_DEBUG=false ###< Client configuration ### diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a6714de..48c6c775 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ All notable changes to this project will be documented in this file. - Removed fixture length check from test. - Added vitest for frontend unit tests. - Added BRND to feed source admin dropdown. +- Changed default CLIENT_PULL_STRATEGY_INTERVAL value to 10 minutes. ### NB! Prior to 3.x the project was split into separate repositories diff --git a/README.md b/README.md index addc9e3e..f3b2c9b8 100644 --- a/README.md +++ b/README.md @@ -503,7 +503,7 @@ CLIENT_LOGIN_CHECK_TIMEOUT=20000 CLIENT_REFRESH_TOKEN_TIMEOUT=300000 CLIENT_RELEASE_TIMESTAMP_INTERVAL_TIMEOUT=600000 CLIENT_SCHEDULING_INTERVAL=60000 -CLIENT_PULL_STRATEGY_INTERVAL=90000 +CLIENT_PULL_STRATEGY_INTERVAL=600000 CLIENT_COLOR_SCHEME='{"type":"library","lat":56.0,"lng":10.0}' CLIENT_DEBUG=false ###< Client configuration ### @@ -525,8 +525,9 @@ CLIENT_DEBUG=false **Default**: 60 s. - CLIENT_PULL_STRATEGY_INTERVAL: How often (milliseconds) should data be pulled from the API? + This also affects how often feed data is refreshed. - **Default**: 1 m. and 30 s. + **Default**: 10 m. - CLIENT_COLOR_SCHEME: Which colour scheme should be enabled? Should be a json object as string. This is used to signal how changes to darkmode are handled. Options are: