Created more tasks but it impacts perf and memory badly
This commit is contained in:
parent
91c99a272f
commit
93740ec84b
3 changed files with 126 additions and 74 deletions
|
|
@ -333,7 +333,8 @@ pub struct Message<BufT> {
|
|||
}
|
||||
|
||||
impl Message<ByteString> {
|
||||
pub fn get_transaction_id(&self) -> Option<u16> {
|
||||
// This implies that the transaction id was generated by us.
|
||||
pub fn get_our_transaction_id(&self) -> Option<u16> {
|
||||
if self.transaction_id.len() != 2 {
|
||||
return None;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue