Skip to content

Commit

Permalink
chore: change vastdata API token span (#2785)
Browse files Browse the repository at this point in the history
Backported-from: main (24.09)
Backported-to: 23.09
Backport-of: 2785
  • Loading branch information
fregataa committed Aug 29, 2024
1 parent 77b86cc commit e63d5d7
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)) # type: ignore[name-defined]


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 e63d5d7

Please sign in to comment.