1
0
forked from apxtri/apxtri

force reindex all tribes at starting to reinit database add || true instead only smatchit

This commit is contained in:
philc 2024-09-04 10:17:10 +02:00
parent f8cb3a9580
commit 3e8c5b3d74

View File

@ -42,7 +42,7 @@ tribeIds.forEach((t) => {
const dm = d.split(".").slice(-2).join("."); const dm = d.split(".").slice(-2).join(".");
if (!doms.includes(dm)) doms.push(dm); if (!doms.includes(dm)) doms.push(dm);
//reindex database //reindex database
if (t == "smatchit") { if (t == "smatchit" || true) {
glob.sync(`../../${t}/objects/*`).forEach(o => { glob.sync(`../../${t}/objects/*`).forEach(o => {
console.log(t, o) console.log(t, o)
Odmdb.runidx(o) Odmdb.runidx(o)