File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
persistence/src/main/scala/hmda/persistence/processing
validation/src/main/scala/hmda/validation Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ class HmdaFileValidator(submissionId: SubmissionId) extends HmdaPersistentActor
115
115
116
116
val supervisor = system.actorSelection(" /user/supervisor" )
117
117
val fHmdaFiling = (supervisor ? FindHmdaFiling (submissionId.period)).mapTo[ActorRef ]
118
- val statRef = for {
118
+ def statRef = for {
119
119
manager <- (supervisor ? FindProcessingActor (SubmissionManager .name, submissionId)).mapTo[ActorRef ]
120
120
stat <- (manager ? GetActorRef (SubmissionLarStats .name)).mapTo[ActorRef ]
121
121
} yield stat
@@ -256,9 +256,6 @@ class HmdaFileValidator(submissionId: SubmissionId) extends HmdaPersistentActor
256
256
257
257
case CompleteValidation (replyTo, originalSender) =>
258
258
if (state.readyToSign) {
259
- for {
260
- stat <- statRef
261
- } yield stat ! PersistIrs
262
259
log.debug(s " Validation completed for $submissionId" )
263
260
replyTo ! ValidationCompleted (originalSender)
264
261
} else {
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ class SubmissionLarStats(submissionId: SubmissionId) extends HmdaPersistentActor
124
124
q075Ratio,
125
125
q076Ratio
126
126
)
127
+ self ! PersistIrs
127
128
validationStats ! msg
128
129
}
129
130
You can’t perform that action at this time.
0 commit comments