Remove unused file request_balancer.js

10.3.x-maintenance
Anton Stålheim 2016-08-17 22:29:20 +02:00
parent 6275b8b462
commit 720216f6ca
2 changed files with 0 additions and 21 deletions

View File

@ -1,20 +0,0 @@
'use strict';
function request_delay_balancer(refresh_period) {
this.balance_to = refresh_period;
this.request_t = 0;
this.finished_t = 0;
}
request_delay_balancer.prototype.requested = function () {
this.request_t = millitime();
};
request_delay_balancer.prototype.finished = function () {
this.finished_t = millitime();
};
request_delay_balancer.prototype.estimate = function () {
var estimate = this.balance_to - (this.finished_t - this.request_t);
return (estimate > 0) ? estimate : 0;
};

View File

@ -53,7 +53,6 @@
<script type="text/javascript" src="./js/serial.js"></script>
<script type="text/javascript" src="./js/gui.js"></script>
<script type="text/javascript" src="./js/model.js"></script>
<script type="text/javascript" src="./js/request_balancer.js"></script>
<script type="text/javascript" src="./js/serial_backend.js"></script>
<script type="text/javascript" src="./js/data_storage.js"></script>
<script type="text/javascript" src="./js/fc.js"></script>