On Sunday 20 April 2008 16:17, Daniel Cheng wrote:
> On Fri, Apr 18, 2008 at 9:43 PM,  <toad at freenetproject.org> wrote:
> > Author: toad
> >  Date: 2008-04-18 13:43:11 +0000 (Fri, 18 Apr 2008)
> >  New Revision: 19391
> >
> >  Modified:
> >    trunk/freenet/src/freenet/node/Node.java
> >    trunk/freenet/src/freenet/support/DoubleTokenBucket.java
> >    trunk/freenet/src/freenet/support/TokenBucket.java
> >  Log:
> >  Rewrite DoubleTokenBucket as per bug #2279. Hopefully bandwidth limiting 
will work a bit better now.
> >
> >  Modified: trunk/freenet/src/freenet/node/Node.java
> >
> 
> The latest trunk give java.lang.IllegalArgumentException  when you
> change the bandwidth limit on /config/ page:
> 
> | Configuration Not Applied
> | Your configuration changes were applied with the following exceptions:
> | outputBandwidthLimit java.lang.IllegalArgumentException

I think that's fixed now. Can you verify this?
> 
> 
> this is the stack trace:
> java.lang.IllegalArgumentException
>       at 
freenet.support.TokenBucket.changeNanosAndBucketSize(TokenBucket.java:181)
>       at 
freenet.support.DoubleTokenBucket.changeNanosAndBucketSize(DoubleTokenBucket.java:47)
>       at freenet.node.Node$10.set(Node.java:888)
>       at freenet.config.IntOption.setValue(IntOption.java:57)
>       at freenet.clients.http.ConfigToadlet.handlePost(ConfigToadlet.java:76)
>       at 
freenet.clients.http.ToadletContextImpl.handle(ToadletContextImpl.java:366)
>       at 
freenet.clients.http.SimpleToadletServer$SocketHandler.run(SimpleToadletServer.java:585)
>       at freenet.support.PooledExecutor$MyThread.run(PooledExecutor.java:186)
> 
> maybe related to this change.
> 
> Regards,
> Daniel Cheng
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20080421/dd3e03bd/attachment.pgp>

Reply via email to