Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ protected enum TokenState {
// The current OAuth token. May be null if not yet fetched.
protected volatile Token token;
// Whether asynchronous refresh is enabled.
private boolean asyncEnabled =
Boolean.parseBoolean(System.getenv("DATABRICKS_ENABLE_EXPERIMENTAL_ASYNC_TOKEN_REFRESH"));
private boolean asyncEnabled = true;
// Duration before expiry to consider a token as 'stale'.
private Duration staleDuration = DEFAULT_STALE_DURATION;
// Additional buffer before expiry to consider a token as expired.
Expand Down
Loading