Incubator-superset: Allow changing the visualization timeout from within Superset's settings

Created on 4 Sep 2017  路  4Comments  路  Source: apache/incubator-superset

Hi,

First of all - Awesome project, cheers.

The issue:
Though the timeout message suggests that one is to compact his data further, it may still come handy to be able to allow a visualization to take another minute.
A client using Superset shouldn't have to dig into js files, find the build script, install node, recompile etc. just to let his visualization run a bit longer.
I was wondering whether it would agreeable to add this timeout setting to a relevant Superset panel, instead of having one wander through Supersets' entrails and use compilers and build tools to modify it.

Thanks,
Eli

Most helpful comment

Awesome, thank you!

For those stumgling on this post, the flags (with default values) are -
SUPERSET_WEBSERVER_TIMEOUT = 60
SQLLAB_TIMEOUT = 30

For async queries -
SQLLAB_ASYNC_TIME_LIMIT_SEC = 60 * 60 * 6

full list of flags -
https://github.com/apache/incubator-superset/blob/master/superset/config.py

All 4 comments

I don't think superset has clients, it has users. The ui timeout has been synced to the backed, i think this is a dup of #3030

It's a configuration element in superset_config.py now

Awesome, thank you!

For those stumgling on this post, the flags (with default values) are -
SUPERSET_WEBSERVER_TIMEOUT = 60
SQLLAB_TIMEOUT = 30

For async queries -
SQLLAB_ASYNC_TIME_LIMIT_SEC = 60 * 60 * 6

full list of flags -
https://github.com/apache/incubator-superset/blob/master/superset/config.py

Those are deprecated as the referred file mentions. You have to change:

_SQLLAB_TIMEOUT = config.get('SQLLAB_ASYNC_TIME_LIMIT_SEC', 600)_

In sql_lab.py if you want to increase the 60 secs timeout for the visualizations.

Was this page helpful?
0 / 5 - 0 ratings