diff --git a/sfds/index.js b/sfds/index.js index 73ef8d52511d76dc5cd5cf4526fdb4099ed78690..efc1b2b3d8de794a2fe27f82c052f82c9380333d 100644 --- a/sfds/index.js +++ b/sfds/index.js @@ -417,12 +417,7 @@ app.get("/sink", function(req, res) { }); app.post("/getSecond", function(req, res) { - // console.log("spout got: " + req.body.state); - // queue.push(req.body); - // clients - // clients.filter(e => String(e) !== String(process.env.VM)) - console.log(Math.min(...clients.filter(e => String(e) !== String(process.env.VM)))) - res.send(clients); + res.send(Math.min(...clients.filter(e => String(e) !== String(process.env.VM)))); }); round_robin = 0;