Skip to content

Commit

Permalink
Merge branch 'patrik-adjust-session-timeout' into 'master'
Browse files Browse the repository at this point in the history
Adjust the session idle and absolute timeouts to 10 and 30 minutes, respectively.

See merge request ikus-soft/rdiffweb!362
  • Loading branch information
ikus060 committed Dec 5, 2023
2 parents 211d4cb + dc1575b commit b02b517
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/{} \;

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://ikus-soft.com>
Expand Down
4 changes: 2 additions & 2 deletions rdiffweb/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b02b517

Please sign in to comment.