You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/10/24 17:21:51 UTC

[GitHub] [airflow] pprzetacznik commented on issue #11654: Add `session_lifetime_hours`/`session_lifetime_minutes` to the configuration

pprzetacznik commented on issue #11654:
URL: https://github.com/apache/airflow/issues/11654#issuecomment-716019390


   Just for the record, I believe that creating `webserver_config.py` file in the airflow home directory file with the following content may work.
   ```
   PERMANENT_SESSION_LIFETIME = 60 * 60 # 60 minutes
   ```
   However, that won't work for 1.10.12 version yet so we need to wait until that will be released or use the master branch version.
   
   I came to that after studying the source code and haven't tested that yet as I'm still on 1.10.12 stable version.
   https://github.com/apache/airflow/blob/master/airflow/configuration.py#L825


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org