core: performance enhancement

This commit is contained in:
undefined committed 2022-07-31 23:44:22 +08:00
1 parent bab15a775b
commit f22caf8c7b
6 files changed
+15 -9

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ export async function runConfig() {
}
bus.on('system/setting', (args) => {
for (const key in args) set(key, args[key], false);
for (const key in args) cache[key] = args[key];
});
global.Hydro.model.system = {