diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e04a1cc9..612452f0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -360,8 +360,7 @@ publish:doc: - doc script: # publish to nexus - - export VERSION=$(cd minarca-client; python3 setup.py --version) - - export FILE=$(ls -1d $FILENAME) + - export VERSION=$(python3 setup.py --version) - cd .tox/doc/tmp/html - find * -type f -exec curl --fail -u "$NEXUS_USR:$NEXUS_PWD" --upload-file "{}" $NEXUS_URL/repository/archive/rdiffweb/$VERSION/doc/{} \; diff --git a/README.md b/README.md index 6912e46c..b3d8986e 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,10 @@ We are passionate about developing and maintaining this open-source project to m # Changelog +## Next Release + +* Adjust the session idle and absolute timeouts to 10 and 30 minutes, respectively. + ## 2.8.6 (2023-11-24) * Fix broken URL to diff --git a/rdiffweb/core/config.py b/rdiffweb/core/config.py index 466ed044..9ad2bbe5 100644 --- a/rdiffweb/core/config.py +++ b/rdiffweb/core/config.py @@ -537,14 +537,14 @@ def get_parser(): '--session-idle-timeout', metavar='MINUTES', help='This timeout defines the amount of time a session will remain active in case there is no activity in the session. User Session will be revoke after this period of inactivity, unless the user selected "remember me". Default 5 minutes.', - default=5, + default=10, ) parser.add( '--session-absolute-timeout', metavar='MINUTES', help='This timeout defines the maximum amount of time a session can be active. After this period, user is forced to (re)authenticate, unless the user selected "remember me". Default 20 minutes.', - default=20, + default=30, ) parser.add(