[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CPS/throttle patches



After a loooong time of sitting on my butt, I finally got off it and re-did
my DCC throttle patch. It is now less complex and (hopefully) works better.
The old patch can be considered obsolete.

The functionality is now split up in two patches (a third one to follow).

The first one improves the CPS reporting/display of DCC sends and gets, in
that the CPS is averaged over the last 10 seconds only, and not over the
whole send/get like it used to be. This means that, for example, a send or
get stalls after going on for half an hour, the CPS goes to 0 within 10
seconds (currently it would very very very slowly drop, and never reach 0).
This patch can be useful for everybody, even if throttling isn't required or
intended.

The second patch does the actual throttling, and requires the first patch to
be installed. It adds the ability to throttle DCC sends and gets, on a
per-connection basis. The functionality of a global CPS throttle will be in
the third patch (follows shortly).

The patches are against Xchat 1.8.9 and can be downloaded at
<http://dfx.homeip.net/xchat/>. The versioning of the patches restarted at
0.1. This is work in progress, and needs testing (as usual). And don't ask
about Xchat 1.9.

Richard
--
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/xchat-discuss/