Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2112

Missing Singleton binding with Guice

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: master
    • Component/s: cassandra, guice
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                btellier Benoit Tellier
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: