Skip to content

Commit

Permalink
Use different types for updates
Browse files Browse the repository at this point in the history
  • Loading branch information
somtochiama committed Oct 25, 2024
1 parent 984f79e commit 108477e
Show file tree
Hide file tree
Showing 9 changed files with 439 additions and 192 deletions.
2 changes: 1 addition & 1 deletion crates/corro-agent/src/agent/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use std::{
time::{Duration, Instant},
};

use crate::api::public::pubsub::api_v1_updates;
use crate::api::public::update::api_v1_updates;
use axum::{
error_handling::HandleErrorLayer,
extract::DefaultBodyLimit,
Expand Down
2 changes: 2 additions & 0 deletions crates/corro-agent/src/api/public/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ use corro_types::broadcast::broadcast_changes;

pub mod pubsub;

pub mod update;

pub async fn make_broadcastable_changes<F, T>(
agent: &Agent,
f: F,
Expand Down
Loading

0 comments on commit 108477e

Please sign in to comment.