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 2017/08/09 09:25:00 UTC

[jira] [Closed] (JAMES-2112) Missing Singleton binding with Guice

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

Tellier Benoit closed JAMES-2112.
---------------------------------

> Missing Singleton binding with Guice
> ------------------------------------
>
>                 Key: JAMES-2112
>                 URL: https://issues.apache.org/jira/browse/JAMES-2112
>             Project: James Server
>          Issue Type: Improvement
>          Components: cassandra, guice
>    Affects Versions: master
>            Reporter: Tellier Benoit
>             Fix For: master
>
>
> Missing singleton bindings leads to double injections. Because of this, Cassandra queries are re-prepared several times. Hence it leads to warnings and sub-optimal code.
> We should ensure CassandraBlobsDAO and CassandraMessageDAOV2 get injected with scope singleton.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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