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] [Resolved] (JAMES-2112) Missing Singleton binding with Guice
Date Wed, 09 Aug 2017 09:25:00 GMT

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

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

https://github.com/linagora/james-project/pull/925 solved the issue

> 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


Mime
View raw message