增加edge-node gc命令

This commit is contained in:
刘祥超
2022-01-01 17:18:34 +08:00
parent 763ab4ac98
commit a1212804bb
2 changed files with 10 additions and 0 deletions

View File

@@ -639,6 +639,7 @@ func (this *Node) listenSock() error {
case "gc":
runtime.GC()
debug.FreeOSMemory()
_ = cmd.ReplyOk()
}
})