diff --git a/p2p/pkg/preconfirmation/preconfirmation.go b/p2p/pkg/preconfirmation/preconfirmation.go index c1c3be4a4..78df78f70 100644 --- a/p2p/pkg/preconfirmation/preconfirmation.go +++ b/p2p/pkg/preconfirmation/preconfirmation.go @@ -292,8 +292,8 @@ func (p *Preconfirmation) handleBid( } }() - // try to enqueue for 5 seconds - ctx, cancel := context.WithTimeout(ctx, 5*time.Second) + // try to get a decision within 30 seconds + ctx, cancel := context.WithTimeout(ctx, 30*time.Second) defer cancel() statusC, err := p.processer.ProcessBid(ctx, bid)