Wip maj (correct error) roundRobin
This commit is contained in:
parent
7a83bb134c
commit
4ce44f48b6
@ -62,7 +62,7 @@ public class RoundRobin extends Scheduler {
|
||||
// }
|
||||
//}
|
||||
|
||||
index = Ts * Sp;
|
||||
index = (Ts + 1) * (Sp + 1);
|
||||
return Users.get(index%(Users.size() - 1));
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user