示例#1
0
文件: action.go 项目: jameswei/xcodis
func runGCKeepNSec(secs int) error {
	log.Info("gc...")
	return models.ActionGC(zkConn, productName, models.GC_TYPE_SEC, secs)
}
示例#2
0
文件: action.go 项目: jameswei/xcodis
func runGCKeepN(keep int) error {
	log.Info("gc...")
	return models.ActionGC(zkConn, productName, models.GC_TYPE_N, keep)
}