From d869bd701ee19c99adace4d13b1949bf29bf7604 Mon Sep 17 00:00:00 2001 From: arshiam2 <arshiam2@illinois.edu> Date: Sat, 1 Dec 2018 22:32:52 -0600 Subject: [PATCH] update --- sfds/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sfds/index.js b/sfds/index.js index 7e73c74..f23f674 100644 --- a/sfds/index.js +++ b/sfds/index.js @@ -420,7 +420,8 @@ app.post("/getSecond", function(req, res) { // console.log("spout got: " + req.body.state); // queue.push(req.body); // clients - res.send(clients); + + res.send(Math.min(clients)); }); round_robin = 0; -- GitLab