Skip to content

Commit 5da2ae9

Browse files
committed
Flip boolean
1 parent 580c015 commit 5da2ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

databricks-sdk-java/src/main/java/com/databricks/sdk/core/oauth/RefreshableTokenSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected enum TokenState {
4545
// The current OAuth token. May be null if not yet fetched.
4646
protected volatile Token token;
4747
// Whether asynchronous refresh is enabled.
48-
private boolean asyncEnabled = false;
48+
private boolean asyncEnabled = true;
4949
// Duration before expiry to consider a token as 'stale'.
5050
private Duration staleDuration = DEFAULT_STALE_DURATION;
5151
// Additional buffer before expiry to consider a token as expired.

0 commit comments

Comments
 (0)