mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 01:41:22 -06:00
Disable update check by default
This commit is contained in:
parent
8ce106cb4b
commit
28473fa3e0
@ -159,10 +159,12 @@ Enforcement of unique IP space can be toggled on a per-VRF basis. To enforce uni
|
||||
|
||||
## UPDATE_REPO_URL
|
||||
|
||||
Default: 'https://api.github.com/repos/netbox-community/netbox'
|
||||
Default: None
|
||||
|
||||
The releases of this repository are checked to detect new releases, which are shown on the home page of the web interface. You can change this to your own fork of the NetBox repository, or set it to `None` to disable the check. The URL provided **must** be compatible with the GitHub API.
|
||||
|
||||
Use `'https://api.github.com/repos/netbox-community/netbox'` to check for release in the official NetBox repository.
|
||||
|
||||
---
|
||||
|
||||
## UPDATE_CACHE_TIMEOUT
|
||||
|
@ -125,8 +125,9 @@ EXEMPT_VIEW_PERMISSIONS = [
|
||||
]
|
||||
|
||||
# This repository is used to check whether there is a new release of NetBox available. Set to None to disable the
|
||||
# version check.
|
||||
UPDATE_REPO_URL = 'https://api.github.com/repos/netbox-community/netbox'
|
||||
# version check or use the URL below to check for release in the official NetBox repository.
|
||||
UPDATE_REPO_URL = None
|
||||
# UPDATE_REPO_URL = 'https://api.github.com/repos/netbox-community/netbox'
|
||||
|
||||
# This determines how often the GitHub API is called to check the latest release of NetBox. Must be at least 1 hour.
|
||||
UPDATE_CACHE_TIMEOUT = 24 * 3600
|
||||
|
@ -80,8 +80,7 @@ DEVELOPER = getattr(configuration, 'DEVELOPER', False)
|
||||
EMAIL = getattr(configuration, 'EMAIL', {})
|
||||
ENFORCE_GLOBAL_UNIQUE = getattr(configuration, 'ENFORCE_GLOBAL_UNIQUE', False)
|
||||
EXEMPT_VIEW_PERMISSIONS = getattr(configuration, 'EXEMPT_VIEW_PERMISSIONS', [])
|
||||
UPDATE_REPO_URL = getattr(configuration, 'UPDATE_REPO_URL',
|
||||
'https://api.github.com/repos/netbox-community/netbox')
|
||||
UPDATE_REPO_URL = getattr(configuration, 'UPDATE_REPO_URL', None)
|
||||
UPDATE_CACHE_TIMEOUT = getattr(configuration, 'UPDATE_CACHE_TIMEOUT', 24 * 3600)
|
||||
LOGGING = getattr(configuration, 'LOGGING', {})
|
||||
LOGIN_REQUIRED = getattr(configuration, 'LOGIN_REQUIRED', False)
|
||||
|
Loading…
Reference in New Issue
Block a user