Several libraries on the server: one directory, store, notice stream, link index, pending links, reviewer and jobs each; /api/libraries and /api/l/<id>/…; the page holds one library, named by its address, and switches by a page load
The old single-library layout is not opened (the server says to run the migration, which comes next); the per-document migration, /recover and the old replicas check are gone. A server lock keeps two servers off one data directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
This commit is contained in:
1 parent
045a8459da
commit
79aa85e883
22 files changed
+1468
-759
No files matched your search
@@ -66,6 +66,14 @@ export class NodeIndex {
|
||||
}
|
||||
private active = false;
|
||||
|
||||
/** Stop keeping the index and write nothing more: the library is being moved aside. */
|
||||
close() {
|
||||
this.active = false;
|
||||
if (this.timer) clearTimeout(this.timer);
|
||||
this.timer = null;
|
||||
this.vectors.detach();
|
||||
}
|
||||
|
||||
private schedule() {
|
||||
if (this.timer || !this.delay || !this.active) return;
|
||||
this.timer = setTimeout(() => {
|
||||
|
||||
Reference in new issue
Block a user