summary refs log tree commit diff
path: root/misc/benc.h
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2005-07-23 21:29:46 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2005-07-23 21:29:46 +0000
commitf671c4f9650029e5fb068f7bec804f68eab96408 (patch)
treeb03f3d140dcf987c821fd25fddc226a9551d87fb /misc/benc.h
parentf65633c5310e69027baa343bedf5ff7b6d02e881 (diff)
downloadbtpd-f671c4f9650029e5fb068f7bec804f68eab96408.tar.gz
btpd-f671c4f9650029e5fb068f7bec804f68eab96408.zip
Use the old simpler bandwidth limiter, but run it at a configurable rate.
Let the default be 8 hz for now.

Removed a try at time correction. I don't really think it'll matter and
there was a potential bug if the clock went backwards.

Removed net_by_second. Let the peer bandwidth calculation be handled in
cm_by_second.

Diffstat (limited to 'misc/benc.h')
0 files changed, 0 insertions, 0 deletions