[mnet-devel] BandwidthThrottler patch
icepick
icepick at icepick.info
Sun Feb 2 21:53:13 GMT 2003
zooko:
Should this patch go in?
RCS file: /cvsroot/egtp/egtp_new/egtp/BandwidthThrottler.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- BandwidthThrottler.py 2 Dec 2002 19:58:44 -0000 1.4
+++ BandwidthThrottler.py 2 Feb 2003 19:31:35 -0000 1.5
@@ -34,6 +33,11 @@
self._lasttick = time()
self._throttlecbs = []
self._unthrottlecbs = []
+ self._tick_doq_loop()
+
+ def _tick_doq_loop(self):
+ DoQ.doq._asyncorelooper.add_task(self.used, args=(0,))
+ DoQ.doq.add_task(self._tick_doq_loop, delay=60)
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel
More information about the Mnet-devel
mailing list