Skip to content

Commit

Permalink
tried creating a new client for communication with node when moving v…
Browse files Browse the repository at this point in the history
…alues over to new one
  • Loading branch information
Saetch committed Jun 30, 2024
1 parent e0910eb commit 7b5b068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cluster/coordinator/src/deal_with_nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub async fn redistribute_values(data: Arc<InteriorMutableState>, hash_value: u1
let url = format!("http://{}:5552/deleteSavedValuesBelow/{}", node_to_distribute_from.name, hash_value.to_string());
println!("URL: {}", url);
//If trying to deal with nonexistent or non-responding node, edit here!
response = awc::Client::default().post(url).send().await;
response = awc::Client::new().post(url).send().await;
if response.is_ok(){
break;
}else{
Expand Down

0 comments on commit 7b5b068

Please sign in to comment.