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