Skip to content

Commit

Permalink
Merge pull request #9 from jucr-io/tiny-improvements
Browse files Browse the repository at this point in the history
1 tiny improvement and 1 fix
  • Loading branch information
zeenix authored Sep 3, 2024
2 parents 16536e6 + e9217d8 commit 10cbaf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/controller/item_struct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@ impl PublishedField {
'static,
embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex,
#change_struct_name,
1,
16,
1,
#capacity,
#max_subscribers,
#max_publishers,
>,
}

Expand Down
2 changes: 1 addition & 1 deletion src/controller/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pub(crate) mod item_impl;
pub(crate) mod item_struct;

const ALL_CHANNEL_CAPACITY: usize = 1;
const ALL_CHANNEL_CAPACITY: usize = 8;
const SIGNAL_CHANNEL_CAPACITY: usize = 8;
const BROADCAST_MAX_PUBLISHERS: usize = 1;
const BROADCAST_MAX_SUBSCRIBERS: usize = 16;

0 comments on commit 10cbaf4

Please sign in to comment.