Skip to content

Commit

Permalink
chore: remove useless inc
Browse files Browse the repository at this point in the history
  • Loading branch information
OEOTYAN committed Sep 11, 2024
1 parent a1e12db commit 9d0702d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ll/api/thread/ServerThreadExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ ServerThreadExecutor::ServerThreadExecutor(std::string_view name, Duration maxOn
getLogger().error("Error in ServerThreadExecutor({}):", name);
error_utils::printCurrentException(getLogger());
}
if (++i % checkPack == 0 && Clock::now() - begin > maxOnceDuration) {
if (i % checkPack == 0 && Clock::now() - begin > maxOnceDuration) {
return false;
}
return true;
Expand Down

0 comments on commit 9d0702d

Please sign in to comment.