huskies: merge 948
This commit is contained in:
@@ -364,7 +364,7 @@ pub(crate) async fn connect_and_sync(url: &str, token: Option<&str>) -> Result<(
|
||||
if !flush_ok {
|
||||
break;
|
||||
}
|
||||
} else if let Some(rpc_resp) = try_handle_rpc_text(text.as_ref()) {
|
||||
} else if let Some(rpc_resp) = try_handle_rpc_text(text.as_ref()).await {
|
||||
// RPC request from the peer — dispatch and reply.
|
||||
use tokio_tungstenite::tungstenite::Message as TungsteniteMsg;
|
||||
if let Ok(json) = serde_json::to_string(&rpc_resp)
|
||||
|
||||
Reference in New Issue
Block a user