|
@@ -23,7 +23,7 @@
|
|
|
USE_DEFAULT_CONFIGURATION, USE_NEW_SIDE_PANELS, VCS, ENABLE_GIST, ENABLE_LINK_SHARING
|
|
USE_DEFAULT_CONFIGURATION, USE_NEW_SIDE_PANELS, VCS, ENABLE_GIST, ENABLE_LINK_SHARING
|
|
|
from desktop.models import hue_version, _get_apps, get_cluster_config
|
|
from desktop.models import hue_version, _get_apps, get_cluster_config
|
|
|
|
|
|
|
|
- from beeswax.conf import DOWNLOAD_BYTES_LIMIT, DOWNLOAD_ROW_LIMIT, LIST_PARTITIONS_LIMIT
|
|
|
|
|
|
|
+ from beeswax.conf import DOWNLOAD_BYTES_LIMIT, DOWNLOAD_ROW_LIMIT, LIST_PARTITIONS_LIMIT, CLOSE_SESSIONS
|
|
|
from dashboard.conf import HAS_SQL_ENABLED
|
|
from dashboard.conf import HAS_SQL_ENABLED
|
|
|
from filebrowser.conf import SHOW_UPLOAD_BUTTON
|
|
from filebrowser.conf import SHOW_UPLOAD_BUTTON
|
|
|
from indexer.conf import ENABLE_NEW_INDEXER
|
|
from indexer.conf import ENABLE_NEW_INDEXER
|
|
@@ -119,6 +119,7 @@
|
|
|
window.JB_HEADER_CHECK_INTERVAL_IN_MILLIS = 30000;
|
|
window.JB_HEADER_CHECK_INTERVAL_IN_MILLIS = 30000;
|
|
|
window.JB_SINGLE_CHECK_INTERVAL_IN_MILLIS = 5000;
|
|
window.JB_SINGLE_CHECK_INTERVAL_IN_MILLIS = 5000;
|
|
|
window.JB_MULTI_CHECK_INTERVAL_IN_MILLIS = 20000;
|
|
window.JB_MULTI_CHECK_INTERVAL_IN_MILLIS = 20000;
|
|
|
|
|
+ window.CLOSE_SESSIONS = {'hive': '${ CLOSE_SESSIONS.get() }' === 'True'};
|
|
|
|
|
|
|
|
window.HUE_URLS = {
|
|
window.HUE_URLS = {
|
|
|
IMPORTER_CREATE_TABLE: '${ 'indexer' in apps and url('indexer:importer_prefill', source_type = 'all', target_type = 'table')}',
|
|
IMPORTER_CREATE_TABLE: '${ 'indexer' in apps and url('indexer:importer_prefill', source_type = 'all', target_type = 'table')}',
|