Skip to content

Commit

Permalink
chore: change vastdata API token span (#2785) (#2789)
Browse files Browse the repository at this point in the history
Co-authored-by: Sanghun Lee <sanghun@lablup.com>
Co-authored-by: Kyujin Cho <kyujin.cho@lablup.com>
  • Loading branch information
3 people authored Sep 4, 2024
1 parent 86d0ce1 commit 03bbde0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ai/backend/storage/vast/vastdata_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
log = BraceStyleAdapter(logging.getLogger(__spec__.name))


DEFAULT_ACCESS_TOKEN_SPAN: Final = timedelta(hours=1)
DEFAULT_REFRESH_TOKEN_SPAN: Final = timedelta(hours=24)
DEFAULT_ACCESS_TOKEN_SPAN: Final = timedelta(minutes=1)
DEFAULT_REFRESH_TOKEN_SPAN: Final = timedelta(minutes=10)


VASTQuotaID = NewType("VASTQuotaID", str)
Expand Down

0 comments on commit 03bbde0

Please sign in to comment.