可以设置用户每天执行缓存任务的额度

This commit is contained in:
刘祥超
2022-06-05 21:15:28 +08:00
parent 71677a8638
commit a2f98d2f25
5 changed files with 84 additions and 15 deletions

View File

@@ -25,11 +25,6 @@ const (
HTTPCacheTaskTypeFetch HTTPCacheTaskType = "fetch"
)
const (
MaxKeysPerTask = 2000 // TODO 需要可以配置
MaxKeysPerDayByUser = 2000 // TODO 需要可以配置
)
type HTTPCacheTaskDAO dbs.DAO
func init() {