james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-1728) CassandraSieveRepository should be bound in scope SINGLETON
Date Tue, 26 Apr 2016 07:38:12 GMT
Tellier Benoit created JAMES-1728:

             Summary: CassandraSieveRepository should be bound in scope SINGLETON
                 Key: JAMES-1728
                 URL: https://issues.apache.org/jira/browse/JAMES-1728
             Project: James Server
          Issue Type: Improvement
            Reporter: Tellier Benoit

This would avoid this kind of logs : 

cluster1-nio-worker-2] WARN com.datastax.driver.core.Cluster - Re-preparing already prepared
query SELECT script_content,date FROM sieve WHERE user_name=:user_name AND is_active=:is_active;.
Please note that preparing the same query more than once is generally an anti-pattern and
will likely affect performance. Consider preparing the statement only once.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message