Browse Source

HUE-8738 [task] More explicit task server result configuration

Romain 6 years ago
parent
commit
9c413367e6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      desktop/conf.dist/hue.ini
  2. 1 1
      desktop/conf/pseudo-distributed.ini.tmpl

+ 1 - 1
desktop/conf.dist/hue.ini

@@ -803,7 +803,7 @@
    ## beat_enabled=False
 
    # Django file storage class to use to temporarily store query results
-   ## result_file_storage='{"backend": settings.DEFAULT_FILE_STORAGE, "properties": { "location": settings.MEDIA_ROOT } }'
+   ## result_file_storage='{"backend": "django.core.files.storage.FileSystemStorage", "properties": {"location": "."}}'
 
    # Django cache to use to store temporarily used data during query execution. This is in addition to result_file_storage and result_backend.
    ## execution-storage='{"BACKEND": "django.core.cache.backends.locmem.LocMemCache", "LOCATION": "celery-hue"}'

+ 1 - 1
desktop/conf/pseudo-distributed.ini.tmpl

@@ -805,7 +805,7 @@
    ## beat_enabled=False
 
    # Django file storage class to use to temporarily store query results
-   ## result_file_storage='{"backend": settings.DEFAULT_FILE_STORAGE, "properties": { "location": settings.MEDIA_ROOT } }'
+   ## result_file_storage='{"backend": "django.core.files.storage.FileSystemStorage", "properties": {"location": "."}}'
 
    # Django cache to use to store temporarily used data during query execution. This is in addition to result_file_storage and result_backend.
    ## execution-storage='{"BACKEND": "django.core.cache.backends.locmem.LocMemCache", "LOCATION": "celery-hue"}'