Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public String getNearbyPopularStoresForAi(ToolContext toolContext) {
public List<StoreListResponse> getNearbyStores(double latitude, double longitude, int page, int size) {
int limitedSize = Math.min(size, 100);
return storeRepository.findNearbyWithGist(
latitude, longitude, 5000.0,
latitude, longitude, 1000.0,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

ν•˜λ“œμ½”λ”©λœ 맀직 λ„˜λ²„ 1000.0 λŒ€μ‹  μ˜λ―Έκ°€ λͺ…ν™•ν•œ μƒμˆ˜(예: DEFAULT_NEARBY_RADIUS_METERS)λ₯Ό μ •μ˜ν•˜μ—¬ μ‚¬μš©ν•˜λŠ” 것을 ꢌμž₯ν•©λ‹ˆλ‹€. 이λ₯Ό 톡해 μ½”λ“œμ˜ 가독성을 높이고 ν–₯ν›„ μœ μ§€λ³΄μˆ˜λ₯Ό μš©μ΄ν•˜κ²Œ ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

Suggested change
latitude, longitude, 1000.0,
latitude, longitude, DEFAULT_NEARBY_RADIUS_METERS,

PageRequest.of(page, limitedSize)
).stream().map(StoreListResponse::from).toList();
}
Expand Down
Loading