File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,6 @@ type RegistrationAuthorityImpl struct {
8585 maxContactsPerReg int
8686 limiter * ratelimits.Limiter
8787 txnBuilder * ratelimits.TransactionBuilder
88- started time.Time
8988 finalizeTimeout time.Duration
9089 drainWG sync.WaitGroup
9190
@@ -111,7 +110,7 @@ var _ rapb.RegistrationAuthorityServer = (*RegistrationAuthorityImpl)(nil)
111110// Health implements our grpc.checker interface. This method will be called
112111// periodically to set the gRPC service's healthpb.Health.Check() status.
113112func (ra * RegistrationAuthorityImpl ) Health (ctx context.Context ) error {
114- if ra .txnBuilder .Ready () || time . Since ( ra . started ) > time . Second * 10 {
113+ if ra .txnBuilder .Ready () {
115114 return nil
116115 }
117116 return errors .New ("waiting for overrides" )
@@ -235,7 +234,6 @@ func NewRegistrationAuthorityImpl(
235234 keyPolicy : keyPolicy ,
236235 limiter : limiter ,
237236 txnBuilder : txnBuilder ,
238- started : clk .Now (),
239237 publisher : pubc ,
240238 finalizeTimeout : finalizeTimeout ,
241239 ctpolicy : ctp ,
You can’t perform that action at this time.
0 commit comments