mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-01-10 18:06:18 +00:00
add WireGuard status cache refresh settings
This commit is contained in:
@@ -157,6 +157,9 @@ STATICFILES_DIRS = [
|
|||||||
|
|
||||||
WIREGUARD_STATUS_CACHE_ENABLED = True
|
WIREGUARD_STATUS_CACHE_ENABLED = True
|
||||||
WIREGUARD_STATUS_CACHE_MAX_AGE = 600
|
WIREGUARD_STATUS_CACHE_MAX_AGE = 600
|
||||||
|
WIREGUARD_STATUS_CACHE_REFRESH = 60
|
||||||
|
WIREGUARD_STATUS_CACHE_WEB_LOAD_PREVIOUS_COUNT = 10
|
||||||
|
|
||||||
# Default primary key field type
|
# Default primary key field type
|
||||||
# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field
|
# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field
|
||||||
DNS_CONFIG_FILE = '/etc/dnsmasq/wireguard_webadmin_dns.conf'
|
DNS_CONFIG_FILE = '/etc/dnsmasq/wireguard_webadmin_dns.conf'
|
||||||
|
|||||||
Reference in New Issue
Block a user