@bakers-build/addon-remote-drupal 0.5.1-next.853 → 0.5.1-next.855
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 +3 -3
- package/package.json +5 -5
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
|
-
|
|
109
|
+
const maxParallel = row?.attr('max_parallel');
|
|
110
|
+
if (!row || maxParallel == null)
|
|
110
111
|
return null;
|
|
111
112
|
return {
|
|
112
|
-
maxParallel
|
|
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.
|
|
3
|
+
"version": "0.5.1-next.855",
|
|
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.
|
|
27
|
-
"@bakers-build/core": "^0.5.1-next.
|
|
28
|
-
"@bakers-build/message": "^0.5.1-next.
|
|
26
|
+
"@bakers-build/conductor": "^0.5.1-next.855",
|
|
27
|
+
"@bakers-build/core": "^0.5.1-next.855",
|
|
28
|
+
"@bakers-build/message": "^0.5.1-next.855"
|
|
29
29
|
},
|
|
30
30
|
"bakersBuild": {
|
|
31
|
-
"commit": "
|
|
31
|
+
"commit": "bea27960d8d0cfb827f72aae305ed5820ecd28f3",
|
|
32
32
|
"channel": "next"
|
|
33
33
|
}
|
|
34
34
|
}
|