Skip to content

Commit

Permalink
Merge pull request #13 from loxilb-io/loxi-admin-patch-1
Browse files Browse the repository at this point in the history
Update serviceprobe.go
  • Loading branch information
UltraInstinct14 authored May 22, 2023
2 parents 4ba9ddf + 0570d34 commit 40657d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serviceprobe.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func L4ServiceProber(sType string, sName string, sHint, req, resp string) bool {
return false
}
pktData := make([]byte, 1500)
rc.SetDeadline(time.Now().Add(2 * time.Second))
rc.SetDeadline(time.Now().Add(1 * time.Second))
_, _, err = rc.ReadFrom(pktData)
if err != nil {
return sOk
Expand Down

0 comments on commit 40657d4

Please sign in to comment.