@effectstream/utils 0.100.20 → 0.100.21
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/package.json +1 -1
- package/src/config.ts +10 -0
package/package.json
CHANGED
package/src/config.ts
CHANGED
|
@@ -239,6 +239,13 @@ const definitions: Record<string, ConfigDefinition> = {
|
|
|
239
239
|
defaultValue: undefined,
|
|
240
240
|
description: "Enable PGLite Debug/Verbose mode. Example: '1'",
|
|
241
241
|
},
|
|
242
|
+
ALLOW_NO_PG_IVM: {
|
|
243
|
+
key: "ALLOW_NO_PG_IVM",
|
|
244
|
+
type: "boolean",
|
|
245
|
+
defaultValue: false,
|
|
246
|
+
description:
|
|
247
|
+
"Permits the engine to start when the pg_ivm extension is not installed, falling back to plain SQL views over the trigger-maintained intermediate tables. Intended for dev/test and low-volume apps only — the fallback degrades sharply on high-cardinality data. Production deployments should install pg_ivm. ('true' or 'false')",
|
|
248
|
+
},
|
|
242
249
|
OTEL_COLLECTOR_PORT: {
|
|
243
250
|
key: "OTEL_COLLECTOR_PORT",
|
|
244
251
|
type: "number",
|
|
@@ -412,6 +419,9 @@ export class ENV {
|
|
|
412
419
|
static get DEBUG_PGLITE(): number {
|
|
413
420
|
return ENV.getConfig(definitions.DEBUG_PGLITE);
|
|
414
421
|
}
|
|
422
|
+
static get ALLOW_NO_PG_IVM(): boolean {
|
|
423
|
+
return ENV.getConfig(definitions.ALLOW_NO_PG_IVM);
|
|
424
|
+
}
|
|
415
425
|
static get OTEL_COLLECTOR_PORT(): number {
|
|
416
426
|
return ENV.getConfig(definitions.OTEL_COLLECTOR_PORT);
|
|
417
427
|
}
|