force reindex all tribes at starting to reinit database add || true instead only smatchit
This commit is contained in:
		| @@ -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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user