Skip to content

Commit

Permalink
[ENHANCEMENT] DistributedDeletedMessageVaultDeletionCallback should b…
Browse files Browse the repository at this point in the history
…e singleton
  • Loading branch information
quantranhong1999 authored and Arsnael committed Dec 5, 2024
1 parent f4d6947 commit 8b94aec
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ protected void configure() {
Multibinder.newSetBinder(binder(), DeleteMessageListener.DeletionCallback.class)
.addBinding()
.to(DistributedDeletedMessageVaultDeletionCallback.class);
bind(DistributedDeletedMessageVaultDeletionCallback.class).in(Scopes.SINGLETON);
}

@ProvidesIntoSet
Expand Down

0 comments on commit 8b94aec

Please sign in to comment.