dev@javaserverfaces.java.net

Re: Configuration for production environment

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Mon, 30 Nov 2009 08:44:56 -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
>
>