Maybe try using an int instead of the string "123456"? On Thu, Feb 16, 2017 at 2:00 PM Hugi Thordarson <h...@karlmenn.is> wrote:
> Hi all, > I’m attempting to change the size of the snapshot cache in code (not in > the project xml-file). It seems this should be set through a property, > right? Well, I’m just not managing to set properties in code. I’ve set > properties in code previously using something like the below, but they just > don’t seem to take? > > builder.addModule( binder -> ServerModule.contributeProperties( binder > ).put( DataRowStore.SNAPSHOT_CACHE_SIZE_PROPERTY, "123456" ) ) > > Any ideas? > > - hugi