pruner: log transitions to error state + log info to confirm pruning is done in active job

This commit is contained in:
Christian Schwarz
2018-10-19 15:58:04 +02:00
parent 359ab2ca0c
commit e63ac7d1bb
2 changed files with 17 additions and 0 deletions
+2
View File
@@ -356,6 +356,7 @@ func (j *ActiveSide) do(ctx context.Context) {
})
log.Info("start pruning sender")
tasks.prunerSender.Prune()
log.Info("finished pruning sender")
senderCancel()
}
{
@@ -371,6 +372,7 @@ func (j *ActiveSide) do(ctx context.Context) {
})
log.Info("start pruning receiver")
tasks.prunerReceiver.Prune()
log.Info("finished pruning receiver")
receiverCancel()
}
}