|
@@ -24,8 +24,9 @@ func main() {
|
|
// 内存调整
|
|
// 内存调整
|
|
web.BConfig.MaxMemory = 1024 * 1024 * 128
|
|
web.BConfig.MaxMemory = 1024 * 1024 * 128
|
|
web.BConfig.RecoverFunc = Recover
|
|
web.BConfig.RecoverFunc = Recover
|
|
-
|
|
|
|
- services.RepairImageData()
|
|
|
|
|
|
+ if utils.ENABLE_TASK == "true" {
|
|
|
|
+ services.RepairImageData()
|
|
|
|
+ }
|
|
web.Run()
|
|
web.Run()
|
|
}
|
|
}
|
|
|
|
|