feat(channel): add auto-schedule feature to channels with background scheduler

This commit is contained in:
2026-03-13 02:27:27 +01:00
parent dfd8f52a53
commit 1fc473342d
14 changed files with 161 additions and 6 deletions

View File

@@ -76,6 +76,9 @@ pub(super) async fn update_channel(
if let Some(rp) = payload.recycle_policy {
channel.recycle_policy = rp;
}
if let Some(auto) = payload.auto_schedule {
channel.auto_schedule = auto;
}
channel.updated_at = Utc::now();
let channel = state.channel_service.update(channel).await?;