Make sure these boxes are checked before submitting your issue - thank you!
Superset version - 19.1
Would like to have the ability to set the user session timeout in the the config. Would adding something like this to the Init.py file to an acceptable way? Maybe this can be added to the project.
from datetime import timedelta
@app.before_request
def make_session_permanent():
appbuilder.get_session.permanent = True
app.permanent_session_lifetime = timedelta(minutes=USER_SESSION_TIMEOUT)
Make sure these boxes are checked before submitting your issue - thank you!
Superset version - 19.1
Would like to have the ability to set the user session timeout in the the config. Would adding something like this to the Init.py file to an acceptable way? Maybe this can be added to the project.
from datetime import timedelta
@app.before_request
def make_session_permanent():
appbuilder.get_session.permanent = True
app.permanent_session_lifetime = timedelta(minutes=USER_SESSION_TIMEOUT)