Skip to content

Commit

Permalink
I1626 using watchman checks (#1639)
Browse files Browse the repository at this point in the history
  • Loading branch information
pushyamig authored Feb 4, 2025
1 parent 024edb9 commit e32c176
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dashboard/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ def apply_env_overrides(env: Dict[str, Any], environ: os._Environ) -> Dict[str,
# Only report on the default database
WATCHMAN_DATABASES = ('default',)

WATCHMAN_CHECKS = (
"watchman.checks.caches",
"watchman.checks.databases",
)

# courses_enabled api
COURSES_ENABLED = ENV.get('COURSES_ENABLED', False)
# Fall back to the old config name
Expand Down Expand Up @@ -175,9 +180,6 @@ def apply_env_overrides(env: Dict[str, Any], environ: os._Environ) -> Dict[str,
"staticfiles": {
"BACKEND": 'whitenoise.storage.CompressedManifestStaticFilesStorage',
},
'default': {
'BACKEND': 'django.core.files.storage.InMemoryStorage',
}
}
CONTEXT_PROCESSORS = [
'django.contrib.auth.context_processors.auth',
Expand Down

0 comments on commit e32c176

Please sign in to comment.