This commit is contained in:
Zheng Kai
2023-03-31 16:44:36 +08:00
parent d2bede241b
commit 92b017d0e1
5 changed files with 7 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ func (c *Core) getAB(p *pb.Req, r *http.Request) (ab []byte, cached bool, err er
return
}
pr := c.add(p, r)
pr, cached := c.add(p, r)
go func() {
reqFile := util.CacheName(p.Hash()) + `-req.json`