修复代码
This commit is contained in:
parent
346b858bc9
commit
d3952e521c
@ -1,13 +1,12 @@
|
||||
package comm
|
||||
|
||||
import (
|
||||
"go_dreamfactory/pb"
|
||||
"sync"
|
||||
)
|
||||
|
||||
var taskParamPool = &sync.Pool{
|
||||
New: func() interface{} {
|
||||
return &pb.AgentMessage{}
|
||||
return &TaskParam{}
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user