Procházet zdrojové kódy

Crash if we can't allocate incoming connection

tags/v1.0.2^2
9seconds před 6 roky
rodič
revize
b4c47ff4e1
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1
    2
      proxy/proxy.go

+ 1
- 2
proxy/proxy.go Zobrazit soubor

30
 			case <-doneChan:
30
 			case <-doneChan:
31
 				return
31
 				return
32
 			default:
32
 			default:
33
-				p.Logger.Errorw("Cannot allocate incoming connection", "error", err)
34
-				continue
33
+				p.Logger.Fatalw("Cannot allocate incoming connection", "error", err)
35
 			}
34
 			}
36
 		}
35
 		}
37
 
36
 

Načítá se…
Zrušit
Uložit