james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manuel Carrasco (JIRA)" <j...@apache.org>
Subject [jira] Created: (HUPA-38) [bug] cache doesn't work in class: InMemoryImapStoreCache
Date Wed, 14 Oct 2009 10:58:31 GMT
[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

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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message