X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=loop.pl;h=1a677d52360866d28f8e247bffbf1ca7dd406e21;hb=cbf57212d7962476d2f2e7bb966283ab4fc1e5ba;hp=2768a009e92bbf74401deccf70db33d688b05da0;hpb=ccdf496819d857203d6a8aace11f1ba7daa7e1ef;p=dweather.git diff --git a/loop.pl b/loop.pl index 2768a00..1a677d5 100755 --- a/loop.pl +++ b/loop.pl @@ -111,11 +111,6 @@ websocket '/weather' => sub { $c->send($ld->{lasthour_h}) if exists $ld->{lasthour_h}; $c->send($ld->{lastmin_h}) if exists $ld->{lastmin_h}; - # send the 5 days worth of data to the graph - say "last10min = " . scalar @last10minsr . " last5day = " . scalar @last5daysh; - $c->send($_) for @last10minsr; - $c->send($_) for @last5daysh; - # disable timeout $c->inactivity_timeout(3615);