Skip to content

Commit

Permalink
Remove wrong override
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmpp committed May 26, 2023
1 parent 68d73a6 commit 2bd88a3
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,6 @@ trait MailService extends AggregateRoot

override var state: MailServiceState = MailServiceState(DateTime.now, TreeSet.empty[MailEnqueued])

override protected def afterEventPersisted(evt: PersistentEvent): Unit = {
updateState(recovery = false)(evt)
publish(evt)
}

def initialize(): Unit = {
// start mail queue checker
context.system.scheduler.scheduleWithFixedDelay(0 seconds, 10 seconds, self, CheckMailQueue)(context.system.dispatcher)
Expand Down

0 comments on commit 2bd88a3

Please sign in to comment.