pmcf 2.60.8 → 2.60.10

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/package.json +2 -2
  2. package/src/cluster.mjs +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "2.60.8",
3
+ "version": "2.60.10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -47,7 +47,7 @@
47
47
  "dependencies": {
48
48
  "ip-utilties": "^1.4.6",
49
49
  "npm-pkgbuild": "^18.2.9",
50
- "pacc": "^3.4.3",
50
+ "pacc": "^3.4.4",
51
51
  "pkg-dir": "^8.0.0"
52
52
  },
53
53
  "devDependencies": {
package/src/cluster.mjs CHANGED
@@ -124,7 +124,7 @@ export class Cluster extends Host {
124
124
 
125
125
  cfg.push(` virtual_router_id ${cluster.routerId}`);
126
126
  cfg.push(
127
- ` priority ${host.priority + (cluster.masters.has(ni) ? 0 : 5)}`
127
+ ` priority ${host.priority + (cluster.masters.has(ni) ? 5 : 0)}`
128
128
  );
129
129
  cfg.push(" smtp_alert");
130
130
  cfg.push(" advert_int 5");
@@ -184,8 +184,8 @@ export class Cluster extends Host {
184
184
  cfg.push(" }");
185
185
  }
186
186
 
187
- cfg.push("}");
188
- cfg.push("");
187
+ cfg.push("}", "");
188
+ break; // only one for now
189
189
  }
190
190
  }
191
191