@databricks/appkit-ui 0.89.0 → 0.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/commands/registry/add.js +6 -9
- package/dist/cli/commands/registry/add.js.map +1 -1
- package/dist/cli/commands/registry/client.js +9 -31
- package/dist/cli/commands/registry/client.js.map +1 -1
- package/dist/cli/commands/registry/constants.js +2 -41
- package/dist/cli/commands/registry/constants.js.map +1 -1
- package/dist/cli/commands/registry/info.js +1 -3
- package/dist/cli/commands/registry/info.js.map +1 -1
- package/dist/cli/commands/registry/list.js +5 -13
- package/dist/cli/commands/registry/list.js.map +1 -1
- package/dist/react/ui/button.d.ts +1 -1
- package/docs/api/appkit/TypeAlias.IDatabaseConfig.md +12 -0
- package/docs/plugins/database.md +11 -0
- package/docs/plugins/lakebase.md +3 -1
- package/package.json +1 -1
- package/sbom.cdx.json +1 -1
package/docs/plugins/lakebase.md
CHANGED
|
@@ -107,7 +107,7 @@ await createApp({
|
|
|
107
107
|
plugins: [
|
|
108
108
|
lakebase({
|
|
109
109
|
pool: {
|
|
110
|
-
max:
|
|
110
|
+
max: 105, // Max pool connections (default: 105)
|
|
111
111
|
connectionTimeoutMillis: 5000, // Connection timeout ms (default: 10000)
|
|
112
112
|
idleTimeoutMillis: 30000, // Idle connection timeout ms (default: 30000)
|
|
113
113
|
},
|
|
@@ -117,6 +117,8 @@ await createApp({
|
|
|
117
117
|
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
+
The default `max` of 105 is the whole direct-connection budget of a 0.5 CU compute. The SP pool, the legacy per-user OBO pools (3 connections each), a `database()` pool, every replica of the app, and any other client share that budget. Lower `max` until the sum fits the compute. When callers queue because every connection is in use, the plugin logs a warning at most once a minute.
|
|
121
|
+
|
|
120
122
|
## On-Behalf-Of (OBO)[](#on-behalf-of-obo--per-user-connections "Direct link to On-Behalf-Of (OBO)")
|
|
121
123
|
|
|
122
124
|
Lakebase is app-only through the new `appkit.asUser` and `runInCallerContext` APIs. Operations in those scopes fail with a clear error. For a connector call without a manifest alias:
|