You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/NodeClusterBase/MasterEndpoint.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ class MasterEndpoint extends JSONRPC.EndpointBase
55
55
this._bWorkersStarted=false;
56
56
this._bWatchingForUpgrade=false;
57
57
58
-
this.nMaxWorkersCount=Number.MAX_SAFE_INTEGER;
58
+
this._nMaxWorkersCount=Number.MAX_SAFE_INTEGER;
59
59
}
60
60
61
61
@@ -73,7 +73,7 @@ class MasterEndpoint extends JSONRPC.EndpointBase
73
73
/**
74
74
* @param {number} nWorkersCount
75
75
*/
76
-
setnMaxWorkersCount(nWorkersCount)
76
+
setmaxWorkersCount(nWorkersCount)
77
77
{
78
78
assert(typeofnWorkersCount==="number",`Invalid property type for nWorkersCount in MasterEndpoint. Expected "number", but got ${typeofnWorkersCount}.`);
79
79
@@ -84,7 +84,7 @@ class MasterEndpoint extends JSONRPC.EndpointBase
84
84
/**
85
85
* @returns {number}
86
86
*/
87
-
getnMaxWorkersCount()
87
+
getmaxWorkersCount()
88
88
{
89
89
returnthis._nMaxWorkersCount;
90
90
}
@@ -207,7 +207,7 @@ class MasterEndpoint extends JSONRPC.EndpointBase
0 commit comments