bug1789 916 B

12345678910111213141516
  1. o Minor features:
  2. - Be more generous with how much bandwidth we'd use up (with
  3. accounting enabled) before entering "soft hibernation".
  4. Previously, we'd hibernate once we'd used up 95% of our
  5. allotment. Now, we use up 95% of our allotment, AND make sure
  6. that we have no more than 500MB (or 3 hours of expected traffic,
  7. whichever is lower) remaining before we enter soft hibernation.
  8. o Minor bugfixes:
  9. - For bandwidth accounting, calculate our expected bandwidth rate
  10. based on the time during which we were active and not in
  11. soft-hibernation during the last interval. Previously, we were
  12. also considering the time spent in soft-hibernation. If this
  13. was a long time, we would wind up underestimating our bandwidth
  14. by a lot, and skewing our wakeup time towards the start of the
  15. accounting interval. Fixes bug 1789. Bugfix on 0.0.9pre5.