Pārlūkot izejas kodu

fix delay in blackhole

Darien Raymond 7 gadi atpakaļ
vecāks
revīzija
3e8da9e540
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. 0 1
      proxy/blackhole/blackhole.go

+ 0 - 1
proxy/blackhole/blackhole.go

@@ -34,7 +34,6 @@ func (h *Handler) Process(ctx context.Context, outboundRay ray.OutboundRay, dial
 	// Sleep a little here to make sure the response is sent to client.
 	time.Sleep(time.Second)
 	outboundRay.OutboundOutput().CloseError()
-	time.Sleep(time.Second * 2)
 	return nil
 }