@firestartr/cli 1.52.0-snapshot-11 → 1.52.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.
Files changed (2) hide show
  1. package/build/index.js +5 -4
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -358886,7 +358886,7 @@ async function loadVirtualClaim(kind, name, org) {
358886
358886
  /*
358887
358887
  * Default blocks are objects that cannot be merged but applied as a whole. Meaning:
358888
358888
  * - If the object is defined at the claim-level it is maintained *AS IT IS* (no merge)
358889
- * - If the block is missed at the claim-level, the default block is applied
358889
+ * - If the block is missing at the claim-level, the default block is applied
358890
358890
  */
358891
358891
  const defaultBlocksPaths = ['/providers/terraform/sync'];
358892
358892
  function applyBlockAwareDefaults(claim, defaultClaim) {
@@ -367817,7 +367817,8 @@ async function writeDownSyncer(syncWatchers) {
367817
367817
 
367818
367818
 
367819
367819
  const syncWatchers = {};
367820
- const FORCE_REVISION_TIME = (/* unused pure expression or super */ null && (60 * 1000));
367820
+ // in seconds
367821
+ const FORCE_REVISION_TIME = 60;
367821
367822
  async function syncer(enqueue) {
367822
367823
  const api = {
367823
367824
  addItem(itemPath) {
@@ -367859,7 +367860,7 @@ async function syncer(enqueue) {
367859
367860
  }
367860
367861
  // if it is syncable we need to recalculate everything
367861
367862
  syncWatchers[itemPath] = await createWatcherForItem(itemPath);
367862
- operator_src_logger.info(`Configured synchronization for item at path '${itemPath}' with watcher`);
367863
+ operator_src_logger.debug(`Configured synchronization for item at path '${itemPath}' with watcher`);
367863
367864
  syncerDebug(syncWatchers).catch((err) => {
367864
367865
  throw `Error syncer debug: ${err}`;
367865
367866
  });
@@ -367910,7 +367911,7 @@ async function loop(enqueueIfNeeded, api) {
367910
367911
  async function loopKeeper(api) {
367911
367912
  try {
367912
367913
  while (1) {
367913
- await fWait(5);
367914
+ await fWait(FORCE_REVISION_TIME);
367914
367915
  for (const watcher of Object.values(syncWatchers)) {
367915
367916
  if (watcher.alreadyFired) {
367916
367917
  await api.updateItem(watcher.itemPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "1.52.0-snapshot-11",
3
+ "version": "1.52.0",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",