Delete SharedPackets (#3843)
* Delete SharedPackets * Fix bench and sigverify
This commit is contained in:
@@ -139,7 +139,7 @@ fn create_request_processor(
|
||||
let t_processor = spawn(move || loop {
|
||||
let packets = r_reader.recv_timeout(Duration::from_secs(1));
|
||||
if let Ok(packets) = packets {
|
||||
for packet in &packets.read().unwrap().packets {
|
||||
for packet in &packets.packets {
|
||||
let req: result::Result<ReplicatorRequest, Box<bincode::ErrorKind>> =
|
||||
deserialize(&packet.data[..packet.meta.size]);
|
||||
match req {
|
||||
|
Reference in New Issue
Block a user