修复为5秒响应
This commit is contained in:
parent
08c62af2cf
commit
b177e0c9ab
|
@ -68,7 +68,7 @@ func queueHandler(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
}
|
||||
|
||||
err = conn.SetWriteDeadline(time.Now().Add(time.Second * 15))
|
||||
err = conn.SetWriteDeadline(time.Now().Add(time.Second * 8))
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
log.Println("重新回队")
|
||||
|
|
Loading…
Reference in New Issue
Block a user