mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-25 23:39:22 -05:00
fix bugs
This commit is contained in:
parent
cdf823c1cc
commit
d7783e27dd
@ -55,7 +55,7 @@ impl RPCProcessor {
|
|||||||
// Send the watchvalue question
|
// Send the watchvalue question
|
||||||
let watch_value_q = RPCOperationWatchValueQ::new(
|
let watch_value_q = RPCOperationWatchValueQ::new(
|
||||||
key,
|
key,
|
||||||
subkeys,
|
subkeys.clone(),
|
||||||
expiration.as_u64(),
|
expiration.as_u64(),
|
||||||
count,
|
count,
|
||||||
watcher,
|
watcher,
|
||||||
@ -95,12 +95,11 @@ impl RPCProcessor {
|
|||||||
#[cfg(feature = "debug-dht")]
|
#[cfg(feature = "debug-dht")]
|
||||||
{
|
{
|
||||||
let debug_string_answer = format!(
|
let debug_string_answer = format!(
|
||||||
"OUT <== WatchValueA({} {}#{:?}@{} peers={}) <= {}",
|
"OUT <== WatchValueA({} #{:?}@{} peers={}) <= {}",
|
||||||
key,
|
key,
|
||||||
if opt_watcher.is_some() { "+W " } else { "" },
|
|
||||||
subkeys,
|
subkeys,
|
||||||
expiration,
|
expiration,
|
||||||
peer.len(),
|
peers.len(),
|
||||||
dest
|
dest
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -217,7 +216,7 @@ impl RPCProcessor {
|
|||||||
network_result_try!(storage_manager
|
network_result_try!(storage_manager
|
||||||
.inbound_watch_value(
|
.inbound_watch_value(
|
||||||
key,
|
key,
|
||||||
subkeys,
|
subkeys.clone(),
|
||||||
Timestamp::new(expiration),
|
Timestamp::new(expiration),
|
||||||
count,
|
count,
|
||||||
target,
|
target,
|
||||||
|
Loading…
Reference in New Issue
Block a user