]> git.sesse.net Git - cubemap/commitdiff
Stop logging loss fraction; it is only spam now, and we have the information in ...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 13 Apr 2014 19:32:21 +0000 (21:32 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 13 Apr 2014 19:32:21 +0000 (21:32 +0200)
server.cpp

index 093899939b4d832be6dd28a8a3e8966d46efa650..b381e7947d6d53d670042758cde01c7126b26738 100644 (file)
@@ -478,12 +478,6 @@ void Server::skip_lost_data(Client *client)
                client->stream_pos = stream->bytes_received - stream->backlog_size;
                client->bytes_lost += bytes_lost;
                ++client->num_loss_events;
-
-               double loss_fraction = double(client->bytes_lost) / double(client->bytes_lost + client->bytes_sent);
-               log(WARNING, "[%s] Client lost %lld bytes (total loss: %.2f%%), maybe too slow connection",
-                       client->remote_addr.c_str(),
-                       (long long int)(bytes_lost),
-                       100.0 * loss_fraction);
        }
 }