Skip to content

Commit

Permalink
feat(f3): log not-before and not-after for new leases
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Oct 10, 2024
1 parent 9b31263 commit cbaadd3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion node/modules/storageminer.go
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,11 @@ func (p *f3Participator) tryF3Participate(ctx context.Context, ticket api.F3Part
p.backOff(ctx)
continue
default:
log.Infow("Successfully acquired F3 participation lease.", "issuer", lease.Issuer, "expiry", lease.FromInstance+lease.ValidityTerm)
log.Infow("Successfully acquired F3 participation lease.",
"issuer", lease.Issuer,
"not-before", lease.FromInstance,
"not-after", lease.FromInstance+lease.ValidityTerm,
)
p.previousTicket = ticket
return lease, true, nil
}
Expand Down

0 comments on commit cbaadd3

Please sign in to comment.