Watch
0
0
Fork
You've already forked hyperhive
0

swarm-wire: take agent_schedules's wire types

This commit is contained in:
atlas 2026-10-18 12:33:35 +02:00 • committed by mara
commit e111807f59
8 changed files with 170 additions and 162 deletions

View file

@ -7,7 +7,7 @@
//! schedule exists for all of its agents or for none of them.
//!
//! Each agent reads only its own key of `agent-schedules`
//! (`swarm_queue_client::agent_schedules`), which holds the schedules naming
//! (`swarm_wire::agent_schedules`), which holds the schedules naming
//! it, without their names or other agents. That key is a projection of the
//! definitions: after a change this daemon rewrites the key of each agent the
//! change touched, and [`spawn_reconcile`] rewrites every agent's key every
@ -30,7 +30,8 @@ use serde::{Deserialize, Serialize};
use swarm_controller_api::schedules::{
AddScheduleRequest, EditScheduleRequest, IntervalEdit, ScheduleView,
};
use swarm_queue_client::agent_schedules::{self, AgentSchedules, Schedule};
use swarm_queue_client::agent_schedules;
use swarm_wire::agent_schedules::{AgentSchedules, Schedule};
use crate::agent_renewal::unix_now;
use crate::routes::{AppState, error_problem};