Skip to content

Commit

Permalink
Router dont purge synced peers due to overflows
Browse files Browse the repository at this point in the history
  • Loading branch information
madMAx43v3r committed Oct 28, 2022
1 parent d0eac8d commit 760fe61
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Router.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,6 @@ bool Router::process(std::shared_ptr<const Return> ret)
} else {
job->failed.insert(client);
}
} else if(auto result = std::dynamic_pointer_cast<const vnx::Exception>(ret->result)) {
synced_peers.erase(client);
}
job->pending.erase(client);
job->request_map.erase(iter);
Expand Down

0 comments on commit 760fe61

Please sign in to comment.