On Thursday 26 June 2008 02:52, Daniel Cheng wrote:
> On Thu, Jun 26, 2008 at 9:20 AM, <toad at freenetproject.org> wrote:
> > Author: toad
> > Date: 2008-06-26 01:20:09 +0000 (Thu, 26 Jun 2008)
> > New Revision: 20734
> >
> > Modified:
> > branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
> > Log:
> > There could be many levels of metadata
> >
> > Modified:
branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
> > ===================================================================
> > --- branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
> >
2008-06-26 01:03:45 UTC (rev 20733)
> > +++ branches/db4o/freenet/src/freenet/client/async/SingleFileInserter.java
> >
2008-06-26 01:20:09 UTC (rev 20734)
> > @@ -507,7 +507,7 @@
> > byte[] metaBytes;
> > if(persistent)
> > // Load keys
> > - container.activate(meta, 5);
> > + container.activate(meta, 100);
>
> Is this limit(100) arbitrary?
> I guess we should extract this as a constant.
Integer.MAX_VALUE ?
>
> > try {
> > metaBytes = meta.writeToByteArray();
> > } catch (MetadataUnresolvedException e1) {
> >
> > _______________________________________________
> > cvs mailing list
> > cvs at freenetproject.org
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> >
> _______________________________________________
> 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/20080626/4bdc5d52/attachment.pgp>