Skip to content

Commit

Permalink
Move generated queries into regular messages list
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed Aug 19, 2022
1 parent 80e25f7 commit 329d559
Show file tree
Hide file tree
Showing 4 changed files with 214 additions and 451 deletions.
2 changes: 1 addition & 1 deletion shotover-proxy/src/message/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub type Messages = Vec<Message>;
/// Usually a message is received and starts off containing just raw bytes (or possibly raw bytes + frame)
/// This can be immediately sent off to the destination without any processing cost.
///
/// However if a transform wants to query the contents of the message it must call `Message::frame()q which will cause the raw bytes to be processed into a raw bytes + Frame.
/// However if a transform wants to query the contents of the message it must call `Message::frame()` which will cause the raw bytes to be processed into a raw bytes + Frame.
/// The first call to frame has an expensive one time cost.
///
/// The transform may also go one step further and modify the message's Frame + call `Message::invalidate_cache()`.
Expand Down
Loading

0 comments on commit 329d559

Please sign in to comment.