mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-08-11 23:31:17 +08:00
do not recover cache
This commit is contained in:
@@ -71,7 +71,7 @@ func (mqp *MysqlQueryPiece) GetSQL() (str *string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (pmqp *PooledMysqlQueryPiece) Recovery() {
|
func (pmqp *PooledMysqlQueryPiece) Recovery() {
|
||||||
pmqp.sliceBufferPool.Enqueue(pmqp.jsonContent[:0])
|
// pmqp.sliceBufferPool.Enqueue(pmqp.jsonContent[:0])
|
||||||
pmqp.jsonContent = nil
|
pmqp.jsonContent = nil
|
||||||
pmqp.recoverPool.Enqueue(pmqp)
|
pmqp.recoverPool.Enqueue(pmqp)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user