Skip to content
Snippets Groups Projects
Commit 839faaa5 authored by arshiam2's avatar arshiam2
Browse files

update

parent 54f3c4ea
Branches main
No related tags found
No related merge requests found
...@@ -420,8 +420,8 @@ app.post("/getSecond", function(req, res) { ...@@ -420,8 +420,8 @@ app.post("/getSecond", function(req, res) {
// console.log("spout got: " + req.body.state); // console.log("spout got: " + req.body.state);
// queue.push(req.body); // queue.push(req.body);
// clients // clients
console.log(clients.filter(e => String(e) !== String(process.env.VM))) // clients.filter(e => String(e) !== String(process.env.VM))
console.log(Math.min(...clients.filter(e => e !== process.env.VM))) console.log(Math.min(...clients.filter(e => String(e) !== String(process.env.VM))))
res.send(clients); res.send(clients);
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment