mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-30 06:28:34 +01:00
Rearranging PPLNS and solo port ordering.
This commit is contained in:
+3
-3
@@ -25,15 +25,15 @@ app.use(bodyParser.urlencoded({extended: false}));
|
|||||||
app.use(bodyParser.json());
|
app.use(bodyParser.json());
|
||||||
|
|
||||||
let pool_list = [];
|
let pool_list = [];
|
||||||
|
if(global.config.pplns.enable === true){
|
||||||
|
pool_list.push('pplns');
|
||||||
|
}
|
||||||
if(global.config.pps.enable === true){
|
if(global.config.pps.enable === true){
|
||||||
pool_list.push('pps');
|
pool_list.push('pps');
|
||||||
}
|
}
|
||||||
if(global.config.solo.enable === true){
|
if(global.config.solo.enable === true){
|
||||||
pool_list.push('solo');
|
pool_list.push('solo');
|
||||||
}
|
}
|
||||||
if(global.config.pplns.enable === true){
|
|
||||||
pool_list.push('pplns');
|
|
||||||
}
|
|
||||||
|
|
||||||
// ROUTES FOR OUR API
|
// ROUTES FOR OUR API
|
||||||
// =============================================================================
|
// =============================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user