[ 
https://issues.apache.org/jira/browse/HUPA-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Norman Maurer resolved HUPA-38.
-------------------------------

    Resolution: Fixed

> [bug] cache doesn't work in class: InMemoryImapStoreCache
> ---------------------------------------------------------
>
>                 Key: HUPA-38
>                 URL: https://issues.apache.org/jira/browse/HUPA-38
>             Project: JAMES Hupa
>          Issue Type: Bug
>          Components: server
>            Reporter: Manuel Carrasco
>            Assignee: Norman Maurer
>         Attachments: issue_38.diff
>
>
> CachedIMAPStore.isExpired() method is buggy and 
> InMemoryImapStoreCache.createCachedIMAPStore() method is called every time 
> the user makes an action.
> This line
>                       if (validUntil < System.currentTimeMillis() && 
> store.isConnected()) {
> has to be replaced by
>                       if (validUntil > System.currentTimeMillis() && 
> store.isConnected()) {
> But when this is done, most client calls fail.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to