优化代码

This commit is contained in:
刘祥超
2023-08-08 12:02:21 +08:00
parent 8ac115f865
commit f4258ed00e
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 {