enforce fixed refresh interval if cache is enabled

This commit is contained in:
Eduardo Silva
2026-01-07 12:11:35 -03:00
parent 65a2e8de79
commit cf61c3113f
5 changed files with 19 additions and 8 deletions

View File

@@ -157,7 +157,7 @@ STATICFILES_DIRS = [
WIREGUARD_STATUS_CACHE_ENABLED = True
WIREGUARD_STATUS_CACHE_MAX_AGE = 600
WIREGUARD_STATUS_CACHE_REFRESH = 60
WIREGUARD_STATUS_CACHE_REFRESH_INTERVAL = 60
WIREGUARD_STATUS_CACHE_WEB_LOAD_PREVIOUS_COUNT = 10
# Default primary key field type