Skip to content

Commit c5a1557

Browse files
committed
Removed deprecated settings
1 parent 9d476fa commit c5a1557

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

configuration/configuration.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ def _read_secret(secret_name, default = None):
108108
# BASE_PATH = 'netbox/'
109109
BASE_PATH = environ.get('BASE_PATH', '')
110110

111-
# Cache timeout in seconds. Set to 0 to dissable caching. Defaults to 900 (15 minutes)
112-
CACHE_TIMEOUT = int(environ.get('CACHE_TIMEOUT', 900))
113-
114111
# Maximum number of days to retain logged changes. Set to 0 to retain changes indefinitely. (Default: 90)
115112
CHANGELOG_RETENTION = int(environ.get('CHANGELOG_RETENTION', 90))
116113

@@ -212,9 +209,6 @@ def _read_secret(secret_name, default = None):
212209
REMOTE_AUTH_AUTO_CREATE_USER = environ.get('REMOTE_AUTH_AUTO_CREATE_USER', 'True').lower() == 'true'
213210
REMOTE_AUTH_DEFAULT_GROUPS = list(filter(None, environ.get('REMOTE_AUTH_DEFAULT_GROUPS', '').split(' ')))
214211

215-
# This determines how often the GitHub API is called to check the latest release of NetBox. Must be at least 1 hour.
216-
RELEASE_CHECK_TIMEOUT = int(environ.get('RELEASE_CHECK_TIMEOUT', 24 * 3600))
217-
218212
# This repository is used to check whether there is a new release of NetBox available. Set to None to disable the
219213
# version check or use the URL below to check for release in the official NetBox repository.
220214
# https://api.github.com/repos/netbox-community/netbox/releases

0 commit comments

Comments
 (0)