Development
This commit is contained in:
parent
0806656d68
commit
44e869433e
2 changed files with 2 additions and 1 deletions
|
|
@ -16,6 +16,7 @@ DASHBOARD_PENDING = f'{CONFIGS_DIR}/.dashboard-pending'
|
||||||
DASHBOARD_DB = f'{CONFIGS_DIR}/.dashboard-snapshots'
|
DASHBOARD_DB = f'{CONFIGS_DIR}/.dashboard-snapshots'
|
||||||
CREDENTIALS_DB = f'{CONFIGS_DIR}/.client-credentials'
|
CREDENTIALS_DB = f'{CONFIGS_DIR}/.client-credentials'
|
||||||
HEALTH_FILE = f'{CONFIGS_DIR}/.health'
|
HEALTH_FILE = f'{CONFIGS_DIR}/.health'
|
||||||
|
DNS_METRICS_DB = f'{CONFIGS_DIR}/.dns-metrics'
|
||||||
BLOCKLISTS_DIR = f'{CONFIGS_DIR}/blocklists'
|
BLOCKLISTS_DIR = f'{CONFIGS_DIR}/blocklists'
|
||||||
PRODUCT_NAME = os.environ.get('PRODUCT_NAME', 'routlin')
|
PRODUCT_NAME = os.environ.get('PRODUCT_NAME', 'routlin')
|
||||||
DASHB_TIMER_NAME = f'{PRODUCT_NAME}-dashboard-queue'
|
DASHB_TIMER_NAME = f'{PRODUCT_NAME}-dashboard-queue'
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import mod_dns_queries
|
||||||
from pages.ddns.view import public_ip_info
|
from pages.ddns.view import public_ip_info
|
||||||
from pages.dhcpleases.view import live_dhcp_leases
|
from pages.dhcpleases.view import live_dhcp_leases
|
||||||
|
|
||||||
METRICS_DB = f'{config_utils.CONFIGS_DIR}/.dns-metrics'
|
METRICS_DB = config_utils.DNS_METRICS_DB
|
||||||
|
|
||||||
|
|
||||||
def _fmt_since(since_str):
|
def _fmt_since(since_str):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue