Skip to content

Commit

Permalink
添加乐观锁错误 try-catch
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Oct 8, 2024
1 parent e3d3b80 commit 78e8a8c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ public void executeAnnounce(List<PeerAnnounce> announces) {
geoIPManager.geoData(announce.reqIp()),
0
));
if (trackedPeer.getVersion() == null) {
trackedPeer.setVersion(0);
}
trackedPeer.setDownloaded(announce.downloaded());
trackedPeer.setUploaded(trackedPeer.getUploaded());
trackedPeer.setDownloadedOffset(announce.downloaded());
Expand Down

0 comments on commit 78e8a8c

Please sign in to comment.