Skip to content

Commit

Permalink
fix(VersionMonitor): request to update on older version (#1674)
Browse files Browse the repository at this point in the history
  • Loading branch information
kostasrim committed Aug 9, 2023
1 parent 464fa30 commit 52442c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/server/dfly_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ bool VersionMonitor::IsVersionOutdated(const std::string_view remote,
if (remote_x > current_x) {
return true;
}

if (remote_x < current_x) {
return false;
}
}

return false;
Expand Down

0 comments on commit 52442c4

Please sign in to comment.