From e6d588374316399f1036c957dcc05b31bb51cf16 Mon Sep 17 00:00:00 2001
From: arshiam2 <arshiam2@illinois.edu>
Date: Sat, 1 Dec 2018 22:42:22 -0600
Subject: [PATCH] update

---
 sfds/index.js | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/sfds/index.js b/sfds/index.js
index 73ef8d5..efc1b2b 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;
-- 
GitLab