attitude update frequency

This commit is contained in:
nuknal
2024-09-13 12:51:02 +08:00
parent ec793d17ba
commit 001ad32b8e
5 changed files with 7 additions and 3 deletions

View File

@@ -255,6 +255,7 @@ END;
func (rpc *RPC) saveRPB(name string) error {
log.Infof("save RPC model to %s", name)
os.Remove(name)
model := rpc.Output()
f, err := os.Create(name)
if err != nil {