getlantern/lantern — Issue #202: Peer counting task piles up during sleep
Author: forkner
Created: 2012-03-02 15:09:10+00:00
State: open
Labels: ARENDT

If the computer is asleep while Lantern is running a bunch of peer counting tasks fire when waking. Not a problem, just stupid.
Looks like this in the log:

```
73336174 2012-03-02 10:05:01,562 WARN [Timer-1] lantern.PeerCounter.measurePeers (PeerCounter.java:56) - Peer counter updated faster than normal...
73336174 2012-03-02 10:05:01,562 WARN [Timer-1] lantern.PeerCounter.measurePeers (PeerCounter.java:56) - Peer counter updated faster than normal...
73336526 2012-03-02 10:05:01,914 WARN [Timer-1] lantern.PeerCounter.measurePeers (PeerCounter.java:56) - Peer counter updated faster than normal...
...
```

Should use other type of scheduling instead.