mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02: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());
|
||||
|
||||
let pool_list = [];
|
||||
if(global.config.pplns.enable === true){
|
||||
pool_list.push('pplns');
|
||||
}
|
||||
if(global.config.pps.enable === true){
|
||||
pool_list.push('pps');
|
||||
}
|
||||
if(global.config.solo.enable === true){
|
||||
pool_list.push('solo');
|
||||
}
|
||||
if(global.config.pplns.enable === true){
|
||||
pool_list.push('pplns');
|
||||
}
|
||||
|
||||
// ROUTES FOR OUR API
|
||||
// =============================================================================
|
||||
|
||||
Reference in New Issue
Block a user