优化代码

This commit is contained in:
GoEdgeLab
2023-08-08 12:02:21 +08:00
parent 1ab328bb02
commit 72c390fba5
12 changed files with 26 additions and 19 deletions

View File

@@ -57,10 +57,10 @@ func (this *CC2Checkpoint) RequestValue(req requests.Request, param string, opti
period = 7 * 86400
}
var threshold = options.GetInt64("threshold")
/**var threshold = options.GetInt64("threshold")
if threshold <= 0 {
threshold = 1000
}
}**/
var ignoreCommonFiles = options.GetBool("ignoreCommonFiles")
if ignoreCommonFiles {