Account for runtime RCON passwords in config drift

This commit is contained in:
2026-10-08 03:07:49 -04:00
parent 8de9247ff2
commit f8942c732a
13 changed files with 299 additions and 19 deletions
+2
View File
@@ -55,6 +55,8 @@ function migrateHostSchema(handle: Database.Database): void {
-- causing a history scan for every queued command on Node's main thread.
CREATE INDEX IF NOT EXISTS ec_host_operations_kind ON ec_host_operations(host_id, kind, created_at);
CREATE INDEX IF NOT EXISTS ec_host_operations_kind_state ON ec_host_operations(kind, state);
CREATE INDEX IF NOT EXISTS ec_host_operations_launch_instance ON ec_host_operations(instance_id,host_id,generation)
WHERE kind IN ('instance.create','instance.rebuild');
CREATE INDEX IF NOT EXISTS ec_host_operations_active ON ec_host_operations(state, id)
WHERE state IN ('pending','accepted','running','unknown');
CREATE TABLE IF NOT EXISTS ec_host_operation_payloads (