mirror of
https://github.com/perstarkse/minne.git
synced 2026-07-15 01:02:47 +02:00
4cd428185f
Ingest relies on SurrealDB incremental index maintenance; the worker runs native REBUILD INDEX on a configurable interval with lease state on system_settings.
6 lines
366 B
Plaintext
6 lines
366 B
Plaintext
-- Track scheduled runtime index rebuild state on the system_settings singleton.
|
|
|
|
DEFINE FIELD IF NOT EXISTS last_index_rebuild_at ON system_settings TYPE option<datetime>;
|
|
DEFINE FIELD IF NOT EXISTS index_rebuild_lease_owner ON system_settings TYPE option<string>;
|
|
DEFINE FIELD IF NOT EXISTS index_rebuild_lease_expires_at ON system_settings TYPE option<datetime>;
|