Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangtianyu committed Nov 28, 2024
1 parent 71e5ccd commit 6ea98ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static List<AutoCloseable> registerObservers(
.buildWithCallback(
observableMeasurement -> {
Long maxCount = maxFileDescriptorCount.get();
if (maxCount != null && maxCount > 0) {
if (maxCount != null && maxCount >= 0) {
observableMeasurement.record(maxCount);
}
}));
Expand Down

0 comments on commit 6ea98ec

Please sign in to comment.