Commit 7e3eab2
Increase async cache stale period from 3 to 5 minutes. (#608)
## Changes
Increases the default async cache stale period from 3 minutes to 5
minutes.
## Rationale
The 5-minute stale period covers the maximum monthly downtime allowed by
a 99.99% uptime SLA (~4.38 minutes). This ensures that even during the
worst-case downtime scenario, the cache can continue serving stale
tokens while waiting for the auth service to recover (assuming
continuous traffic).
Co-authored-by: Claude Sonnet 4.5 <[email protected]>1 parent 9039afb commit 7e3eab2
File tree
2 files changed
+5
-2
lines changed- databricks-sdk-java/src/main/java/com/databricks/sdk/core/oauth
2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments