Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
briar
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Julian Dehm
briar
Commits
0f9338f5
Unverified
Commit
0f9338f5
authored
Apr 14, 2016
by
akwizgran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Message queue manager should be a singleton.
parent
20c8cacd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
briar-core/src/org/briarproject/clients/ClientsModule.java
briar-core/src/org/briarproject/clients/ClientsModule.java
+3
-0
No files found.
briar-core/src/org/briarproject/clients/ClientsModule.java
View file @
0f9338f5
...
...
@@ -14,6 +14,8 @@ import org.briarproject.api.sync.GroupFactory;
import
org.briarproject.api.sync.MessageFactory
;
import
org.briarproject.api.sync.ValidationManager
;
import
javax.inject.Singleton
;
import
dagger.Module
;
import
dagger.Provides
;
...
...
@@ -36,6 +38,7 @@ public class ClientsModule {
}
@Provides
@Singleton
MessageQueueManager
provideMessageQueueManager
(
DatabaseComponent
db
,
ClientHelper
clientHelper
,
QueueMessageFactory
queueMessageFactory
,
ValidationManager
validationManager
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment