mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-28 00:06:35 +08:00
增加edge-node gc命令
This commit is contained in:
@@ -639,6 +639,7 @@ func (this *Node) listenSock() error {
|
||||
case "gc":
|
||||
runtime.GC()
|
||||
debug.FreeOSMemory()
|
||||
_ = cmd.ReplyOk()
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user