Skip to content

Commit 79e4b3a

Browse files
Enabled asynchronous token refreshes by default (#1208)
## What changes are proposed in this pull request? Enabled asynchronous token refreshes by default ## How is this tested? Integration tests will be run using the new default
1 parent 68499d8 commit 79e4b3a

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Release v0.64.0
44

55
### New Features and Improvements
6+
* Enabled asynchronous token refreshes by default ([#1208](https://github.com/databricks/databricks-sdk-go/pull/1208)).
67

78
### Bug Fixes
89

config/experimental/auth/dataplane/dataplane.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ func NewEndpointTokenSource(c OAuthClient, cpts auth.TokenSource) *dataPlaneToke
2828
client: c,
2929
cpts: auth.NewCachedTokenSource(
3030
cpts,
31-
auth.WithAsyncRefresh(false), // TODO: Enable async refreshes once the feature is stable.
3231
),
3332
}
3433
}
@@ -65,7 +64,6 @@ func (dpts *dataPlaneTokenSource) Token(ctx context.Context, endpoint string, au
6564
cpts: dpts.cpts,
6665
authDetails: authDetails,
6766
},
68-
auth.WithAsyncRefresh(false), // TODO: Enable async refresh once the feature is stable.
6967
)
7068
dpts.sources.Store(key, ts)
7169

0 commit comments

Comments
 (0)