pprzetacznik edited a comment 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
   
   Also interesting thing to note is that having `rbac=True` enables usage of 
`webserver_config.py` in version 1.10.12. That can come with a need of proper 
configuration of rbac, eg. with LDAP.


----------------------------------------------------------------
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:
[email protected]


Reply via email to