summaryrefslogtreecommitdiffstats
path: root/gearman/controllerWorker/ControllerWorker/Boot.java
diff options
context:
space:
mode:
Diffstat (limited to 'gearman/controllerWorker/ControllerWorker/Boot.java')
-rw-r--r--gearman/controllerWorker/ControllerWorker/Boot.java28
1 files changed, 12 insertions, 16 deletions
diff --git a/gearman/controllerWorker/ControllerWorker/Boot.java b/gearman/controllerWorker/ControllerWorker/Boot.java
index 33ca855..5a30796 100644
--- a/gearman/controllerWorker/ControllerWorker/Boot.java
+++ b/gearman/controllerWorker/ControllerWorker/Boot.java
@@ -475,23 +475,19 @@ public class Boot extends Thread {
}
if (blacklistFound) {
- if (whitelistFound) {
- /*
- * System.out.println(ipAddress +
- * " is not working"); // is not working
- * status.put(clientID, 13);
- * psJobs.remove(clientID);
- */
- } else {
- System.out.println(ipAddress
- + " is working");
- status.put(clientID, 18); // is working
- psJobs.remove(clientID);
- }
- } else {
+ /*
+ * if (whitelistFound) {
+ * System.out.println(ipAddress +
+ * " is not working"); // is not working
+ * status.put(clientID, 13);
+ * psJobs.remove(clientID); } else {
+ */
System.out.println(ipAddress
- + " is not working");
- // is not working
+ + " is working");
+ status.put(clientID, 18); // is working
+ psJobs.remove(clientID);
+ // }
+ } else {
status.put(clientID, 13);
psJobs.remove(clientID);
}