[mnet-devel] BandwidthThrottler patch

icepick icepick at icepick.info
Mon Feb 3 14:05:00 GMT 2003


On Sun, 2003-02-02 at 21:44, Zooko wrote:
> I wonder how this patch ever got *out*?  It should have been in place since time 
> immemorial...
> 
> --Z
> 

I don't think it works with the current DoQ.  Thus my question.

any suggestions on how to fix it?

icepick


> > --- 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
> 



-------------------------------------------------------
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