@openhi/constructs 0.0.148 → 0.0.150

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/lib/index.js CHANGED
@@ -6710,6 +6710,7 @@ var _OpenHiDataService = class _OpenHiDataService extends OpenHiService {
6710
6710
  dataEventBus: OpenHiGlobalService.dataEventBusFromConstruct(this)
6711
6711
  }
6712
6712
  );
6713
+ const isReleaseBranch = this.branchName === this.defaultReleaseBranch;
6713
6714
  this.dataStorePostgresReplica = new DataStorePostgresReplica(
6714
6715
  this,
6715
6716
  "data-store-postgres-replica",
@@ -6717,7 +6718,8 @@ var _OpenHiDataService = class _OpenHiDataService extends OpenHiService {
6717
6718
  kinesisStream: this.dataStoreChangeStream,
6718
6719
  removalPolicy: this.removalPolicy,
6719
6720
  stackHash: this.stackHash,
6720
- branchHash: this.branchHash
6721
+ branchHash: this.branchHash,
6722
+ minCapacity: isReleaseBranch ? 1 : 0
6721
6723
  }
6722
6724
  );
6723
6725
  this.seedSystemDataWorkflow = this.createSeedSystemDataWorkflow();