Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sovietaced committed Jan 7, 2024
1 parent c363378 commit 62c3263
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions metadata/okta/okta.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ import (
type FetchStrategy int64

const (
Lazy FetchStrategy = iota // Fetch new metadata inline with requests (when not cached)
Background // Fetch new metadata in the background regardless of requests being made
Lazy FetchStrategy = iota // Fetch new metadata inline with requests (when not cached)
// Background Fetch new metadata in the background regardless of requests being made. This option was designed
// for eliminating in-line metadata calls and minimizing latency in production use. Warning: this option will
// attempt to seed metadata on initialization and block.
Background

DefaultCacheTtl = 5 * time.Minute
)
Expand Down

0 comments on commit 62c3263

Please sign in to comment.