You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .changeset/metadata-database-loader-ttl-ms.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
feat(metadata)!: `DatabaseLoaderOptions.cache.ttl` → `cache.ttlMs` — the read-through cache TTL carries its unit in the key name (#14478)
6
6
7
-
<!-- adr-0087: not-required (already-registered metadata-manager-config-cache-ttl-unit-in-key) The authorable key this option mirrors — `MetadataManagerConfig.cache.databaseLoader.ttl` → `ttlMs` — is registered by the `@objectstack/spec` changeset of the same change; this package's exported `DatabaseLoaderCacheOptions` interface follows that key one-to-one and has no separate metadata surface to register.-->
|**timeoutMs**|`number`| optional | Operation timeout in milliseconds |
139
-
|**timeout**|`never`| optional |[REMOVED]`DriverOptions.timeout` was removed in @objectstack/spec 17 (#14478) — its unit (milliseconds) lived only in the description. Rename the key to `timeoutMs`; the value (milliseconds) is unchanged. |
139
+
|**timeout**|`never`| optional |[REMOVED]`DriverOptions.timeout` was removed in @objectstack/spec 17 — its unit (milliseconds) lived only in the description. Rename the key to `timeoutMs`; the value (milliseconds) is unchanged. |
|**ttlSeconds**|`integer`| optional (default: `3600`) | Cache TTL in seconds |
65
-
|**ttl**|`never`| optional |[REMOVED]`cache.ttl` was removed from `MetadataManagerConfig` in @objectstack/spec 17 (#14478) — its unit (seconds) lived only in the description, while the nested `cache.databaseLoader.ttl` spelled the same word in milliseconds, so one key name meant two magnitudes 1000× apart. Rename the key to `ttlSeconds`; the value (seconds) is unchanged. |
65
+
|**ttl**|`never`| optional |[REMOVED]`cache.ttl` was removed from `MetadataManagerConfig` in @objectstack/spec 17 — its unit (seconds) lived only in the description, while the nested `cache.databaseLoader.ttl` spelled the same word in milliseconds, so one key name meant two magnitudes 1000× apart. Rename the key to `ttlSeconds`; the value (seconds) is unchanged. |
66
66
|**maxSize**|`integer`| optional | Max cache size in bytes |
Copy file name to clipboardExpand all lines: content/docs/references/system/job.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ const result = CronScheduleSchema.parse(data);
59
59
|**handler**|`string`| ✅ | Handler function name (must match a key in `defineStack({ functions })`) |
60
60
|**retryPolicy**|`{ maxRetries?: integer; backoffMs?: integer; backoffMultiplier?: number; maxRetryDelayMs?: integer; … }`| optional | Retry policy: failed runs (including timeouts) are retried with exponential backoff (delay = min(backoffMs * backoffMultiplier^(retry-1), maxRetryDelayMs), optionally jittered) up to maxRetries retries after the initial attempt. Omit the block for a single attempt; declaring it without `maxRetries` also means no retry since 17.0.0 — state a count to opt in. |
61
61
|**timeoutMs**|`integer`| optional | Per-attempt time limit in milliseconds; an over-limit run is recorded with execution status "timeout". The in-flight handler is abandoned, not forcibly cancelled. Omit for no time limit. |
62
-
|**timeout**|`never`| optional |[REMOVED]`job.timeout` was removed in @objectstack/spec 17 (#14478) — its unit (milliseconds) lived only in the description while the sibling `retryPolicy.backoffMs` spells its own, so the same number read as two conventions on one surface. Rename the key to `timeoutMs`; the value (milliseconds) is unchanged. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; apply them by hand. |
62
+
|**timeout**|`never`| optional |[REMOVED]`job.timeout` was removed in @objectstack/spec 17 — its unit (milliseconds) lived only in the description while the sibling `retryPolicy.backoffMs` spells its own, so the same number read as two conventions on one surface. Rename the key to `timeoutMs`; the value (milliseconds) is unchanged. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; apply them by hand. |
63
63
|**enabled**|`boolean`| optional (default: `true`) | Whether the job is enabled |
|**ttlSeconds**|`integer`| optional (default: `3600`) | Cache TTL in seconds |
258
-
|**ttl**|`never`| optional |[REMOVED]`cache.ttl` was removed from `MetadataManagerConfig` in @objectstack/spec 17 (#14478) — its unit (seconds) lived only in the description, while the nested `cache.databaseLoader.ttl` spelled the same word in milliseconds, so one key name meant two magnitudes 1000× apart. Rename the key to `ttlSeconds`; the value (seconds) is unchanged. |
258
+
|**ttl**|`never`| optional |[REMOVED]`cache.ttl` was removed from `MetadataManagerConfig` in @objectstack/spec 17 — its unit (seconds) lived only in the description, while the nested `cache.databaseLoader.ttl` spelled the same word in milliseconds, so one key name meant two magnitudes 1000× apart. Rename the key to `ttlSeconds`; the value (seconds) is unchanged. |
259
259
|**maxSize**|`integer`| optional | Max cache size in bytes |
Copy file name to clipboardExpand all lines: content/docs/references/system/tenant.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ const result = DatabaseLevelIsolationStrategySchema.parse(data);
60
60
|**poolSize**|`integer`| optional (default: `10`) | Connection pool size |
61
61
|**maxActivePools**|`integer`| optional (default: `100`) | Max active pools |
62
62
|**idleTimeoutSeconds**|`integer`| optional (default: `300`) | Idle pool timeout in seconds |
63
-
|**idleTimeout**|`never`| optional |[REMOVED]`connectionPool.idleTimeout` was removed from `DatabaseLevelIsolationStrategy` in @objectstack/spec 17 (#14478) — its unit (seconds) lived in a source comment only and the published description named none, so a reader of the reference page could not tell 300 seconds from 300 milliseconds. Rename the key to `idleTimeoutSeconds`; the value (seconds) is unchanged. |
63
+
|**idleTimeout**|`never`| optional |[REMOVED]`connectionPool.idleTimeout` was removed from `DatabaseLevelIsolationStrategy` in @objectstack/spec 17 — its unit (seconds) lived in a source comment only and the published description named none, so a reader of the reference page could not tell 300 seconds from 300 milliseconds. Rename the key to `idleTimeoutSeconds`; the value (seconds) is unchanged. |
64
64
|**usePooler**|`boolean`| optional (default: `true`) | Use connection pooler |
@@ -334,7 +334,7 @@ This schema accepts one of the following structures:
334
334
|**poolSize**|`integer`| optional (default: `10`) | Connection pool size |
335
335
|**maxActivePools**|`integer`| optional (default: `100`) | Max active pools |
336
336
|**idleTimeoutSeconds**|`integer`| optional (default: `300`) | Idle pool timeout in seconds |
337
-
|**idleTimeout**|`never`| optional |[REMOVED]`connectionPool.idleTimeout` was removed from `DatabaseLevelIsolationStrategy` in @objectstack/spec 17 (#14478) — its unit (seconds) lived in a source comment only and the published description named none, so a reader of the reference page could not tell 300 seconds from 300 milliseconds. Rename the key to `idleTimeoutSeconds`; the value (seconds) is unchanged. |
337
+
|**idleTimeout**|`never`| optional |[REMOVED]`connectionPool.idleTimeout` was removed from `DatabaseLevelIsolationStrategy` in @objectstack/spec 17 — its unit (seconds) lived in a source comment only and the published description named none, so a reader of the reference page could not tell 300 seconds from 300 milliseconds. Rename the key to `idleTimeoutSeconds`; the value (seconds) is unchanged. |
338
338
|**usePooler**|`boolean`| optional (default: `true`) | Use connection pooler |
|**ipWhitelist**|`string[]`| optional | Allowed IP addresses |
414
414
|**sessionTimeoutSeconds**|`integer`| optional (default: `3600`) | Session timeout in seconds |
415
-
|**sessionTimeout**|`never`| optional |[REMOVED]`accessControl.sessionTimeout` was removed from `TenantSecurityPolicy` in @objectstack/spec 17 (#14478) — its unit (seconds) lived in a source comment only and the published description named none, so a reader of the reference page could not tell 3600 seconds from 3600 milliseconds. Rename the key to `sessionTimeoutSeconds`; the value (seconds) is unchanged. |
415
+
|**sessionTimeout**|`never`| optional |[REMOVED]`accessControl.sessionTimeout` was removed from `TenantSecurityPolicy` in @objectstack/spec 17 — its unit (seconds) lived in a source comment only and the published description named none, so a reader of the reference page could not tell 3600 seconds from 3600 milliseconds. Rename the key to `sessionTimeoutSeconds`; the value (seconds) is unchanged. |
0 commit comments