feat: support configuration of refresh token expiration by environment variable (#12335)

This commit is contained in:
eux 2025-01-04 11:56:44 +08:00 committed by GitHub
commit 1fa66405c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 1 deletions

View file

@ -105,6 +105,9 @@ FILES_ACCESS_TIMEOUT=300
# Access token expiration time in minutes
ACCESS_TOKEN_EXPIRE_MINUTES=60
# Refresh token expiration time in days
REFRESH_TOKEN_EXPIRE_DAYS=30
# The maximum number of active requests for the application, where 0 means unlimited, should be a non-negative integer.
APP_MAX_ACTIVE_REQUESTS=0
APP_MAX_EXECUTION_TIME=1200