dev@javaserverfaces.java.net

Re: Configuration for production environment

From: Martin Koci <martin.koci_at_aura.cz>
Date: Tue, 01 Dec 2009 22:11:42 +0100

https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1434
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1435

Regards,

Martin Kočí

Ryan Lubke píše v Po 30. 11. 2009 v 08:44 -0800:
> On 11/26/09 12:43 PM, Martin Kočí wrote:
> > Hi,
> >
> > profiling results show that DefaultFaceletFactory.needsToBeRefreshed()
> > costs some CPU time - FACELETS_REFRESH_PERIOD=-1 solves it, but
> > shouldn't be -1 default value if stage.equals(production)? Something
> > like:
> > if (refreshParam == null&& stage == production)
> > refreshPeriod = -1
> > else
> > refreshPeriod = refreshParam
> >
> This seems reasonable.
> > Are there other params that can differ in development and production
> > environment?
> >
> There may be some we have missed. Would you mind logging an issue for both?
> > Thanks,
> >
> > Martin Kočí
> >
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
> > For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
> For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
>
>