[ 
https://issues.apache.org/jira/browse/WICKET-2939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887007#action_12887007
 ] 

Martin Grigorov commented on WICKET-2939:
-----------------------------------------

Either my calculator is not correct or 1,728,000 (60*60*24*20) is much less 
than 2,147,483,647 (Integer.MAX_VALUE, = 24855 days).

> The max possible default cache duration for WebResource is not big enough
> -------------------------------------------------------------------------
>
>                 Key: WICKET-2939
>                 URL: https://issues.apache.org/jira/browse/WICKET-2939
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4.9
>            Reporter: amara abdellatif
>
> The parameter defaultDuration of the method setDefaultCacheDuration of the 
> class org.apache.wicket.settings.IResourceSettings is an int. So, I can not 
> set a value bigger than 20 days (60 * 60 * 24 * 20), which is not enough, for 
> my ressources as a default cach duration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to