You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2016/04/26 11:17:12 UTC

[jira] [Resolved] (JAMES-1728) CassandraSieveRepository should be bound in scope SINGLETON

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

Tellier Benoit resolved JAMES-1728.
-----------------------------------
    Resolution: Fixed

> 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
(v6.3.4#6332)

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