Skip to content

Commit

Permalink
Merge branch 'release/2.6.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamDumpleton committed Aug 19, 2023
2 parents 336ccd9 + 04488bd commit b0150bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def process_training_portal(resource):
@resources_lock
@transaction.atomic
def start_hourly_cleanup_task():
"""Daily cleanup job."""
"""Hourly cleanup job."""

# Clear expired access tokens for OAuth.

Expand Down
4 changes: 2 additions & 2 deletions training-portal/src/project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@
"SCOPES": {
"user:info": "User information",
},
"ACCESS_TOKEN_EXPIRE_SECONDS": 36000,
"REFRESH_TOKEN_EXPIRE_SECONDS": 3600,
"ACCESS_TOKEN_EXPIRE_SECONDS": 10*60*60, # 10 Hours.
"REFRESH_TOKEN_EXPIRE_SECONDS": 30*24*60*60, # 30 Days.
}

AUTHENTICATION_BACKENDS = [
Expand Down

0 comments on commit b0150bf

Please sign in to comment.