On Thursday 26 June 2008 02:52, Daniel Cheng wrote: > On Thu, Jun 26, 2008 at 9:20 AM, <[EMAIL PROTECTED]> 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
> > [EMAIL PROTECTED]
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> >
> _______________________________________________
> Devl mailing list
> [email protected]
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
>
>
pgpgDPoNUNuv8.pgp
Description: PGP signature
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
