@bakers-build/addon-remote-drupal 0.5.1-next.852 → 0.5.1-next.854

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/src/index.js CHANGED
@@ -106,10 +106,11 @@ export class DrupalBbRemote {
106
106
  .where('host_key', '=', hostKey)
107
107
  .fields(['max_parallel', 'current_load'])
108
108
  .first();
109
- if (!row)
109
+ const maxParallel = row?.attr('max_parallel');
110
+ if (!row || maxParallel == null)
110
111
  return null;
111
112
  return {
112
- maxParallel: row.attr('max_parallel') ?? 1,
113
+ maxParallel,
113
114
  currentLoad: row.attr('current_load') ?? 0,
114
115
  };
115
116
  }
@@ -285,7 +286,6 @@ export class DrupalBbRemote {
285
286
  states: reg.states,
286
287
  workspace_root: reg.workspace,
287
288
  label: reg.label,
288
- max_parallel: reg.max_parallel,
289
289
  ...processIdentity(reg),
290
290
  ...(extras.current_load !== undefined
291
291
  ? { current_load: extras.current_load }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bakers-build/addon-remote-drupal",
3
- "version": "0.5.1-next.852",
3
+ "version": "0.5.1-next.854",
4
4
  "description": "bakers.build conductor remote addon: the Drupal/JSON:API control-plane remote.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -23,12 +23,12 @@
23
23
  "dropsh": "^0.8.2"
24
24
  },
25
25
  "peerDependencies": {
26
- "@bakers-build/conductor": "^0.5.1-next.852",
27
- "@bakers-build/core": "^0.5.1-next.852",
28
- "@bakers-build/message": "^0.5.1-next.852"
26
+ "@bakers-build/conductor": "^0.5.1-next.854",
27
+ "@bakers-build/core": "^0.5.1-next.854",
28
+ "@bakers-build/message": "^0.5.1-next.854"
29
29
  },
30
30
  "bakersBuild": {
31
- "commit": "11ac39f9f194501ed439fbc34b2f8d3f4f6addca",
31
+ "commit": "238bcdaa4adf04d7536cb9b598f5c751345be458",
32
32
  "channel": "next"
33
33
  }
34
34
  }