core: fix remote domain langs config

This commit is contained in:
undefined committed 2022-09-09 19:48:58 +08:00
1 parent 2960549553
commit f1b1c89bf1
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -145,7 +145,7 @@ Worker.addHandler('task.daily', async () => {
await global.Hydro.model.record.coll.deleteMany({ contest: new ObjectID('000000000000000000000000') });
await global.Hydro.script.rp?.run({}, new Logger('task/rp').debug);
await global.Hydro.script.problemStat?.run({}, new Logger('task/problem').debug);
if (global.Hydro.model.system.get('server.checkUpdate')) {
if (global.Hydro.model.system.get('server.checkUpdate') && !(new Date().getDay() % 3)) {
await global.Hydro.script.checkUpdate?.run({}, new Logger('task/checkUpdate').debug);
}
await bus.serial('task/daily');