feat: search with sonic

This commit is contained in:
undefined committed 2021-04-02 00:39:21 +08:00
1 parent 5d01c81607
commit 43c4bfd8e7
43 files changed
+512 -317

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@hydrooj/hydrojudge",
"bin": "bin/hydrojudge.js",
"version": "2.4.15",
"version": "2.4.16",
"os": [
"linux"
],
+2 -2
View File
@@ -44,10 +44,10 @@ async function postInit() {
if (system.get('hydrojudge.disable')) return;
const info = await sysinfo.get();
monitor.updateJudger(info);
monitor.updateJudge(info);
setInterval(async () => {
const [mid, inf] = await sysinfo.update();
monitor.updateJudger({ mid, ...inf });
monitor.updateJudge({ mid, ...inf });
}, 1200000);
async function processData(folder: string) {