Skip to content

Commit

Permalink
fixing empty point by avoiding the scenario wher it could happen
Browse files Browse the repository at this point in the history
  • Loading branch information
DiaZork committed Jan 29, 2025
1 parent 9f1638a commit db9368a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ private ResponseEntity<JSONObject> handleBoundingBox(
Zone zone = entry.getValue();
total += zone.getNumberProjects();
}
logger.info("Found {} projects in the region at zoom {}", total, zoom);
if (total < 2000) {
// logger.info("Found {} projects in the region at zoom {}", total, zoom);
if (total > 2000) {
return createResponse(tmp, search, language, granularityRegion, timeout);
}
}
Expand Down

0 comments on commit db9368a

Please sign in to comment.