修复为5秒响应

This commit is contained in:
eson 2023-08-28 16:55:41 +08:00
parent 08c62af2cf
commit b177e0c9ab

View File

@ -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 { if err != nil {
log.Println(err) log.Println(err)
log.Println("重新回队") log.Println("重新回队")