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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]