Skip to content

Commit 2c9b29d

Browse files
committed
change default h3-resoltion value
1 parent f2e4c64 commit 2c9b29d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

hexfeed-backend/src/main/java/com/hexfeed/model/entity/Post.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public class Post {
197197
@Min(value = 0, message = "H3 resolution must be non-negative")
198198
@Max(value = 15, message = "H3 resolution must be at most 15")
199199
@Builder.Default
200-
private Integer h3Resolution = 7;
200+
private Integer h3Resolution = 8;
201201

202202
/**
203203
* Timestamp when the post was created

hexfeed-backend/src/main/java/com/hexfeed/service/CommentService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public CommentResponse addComment(UUID userId, UUID postId, CommentRequest reque
8888
metadata.put("parent_post_id", postId.toString());
8989

9090
// Use parent post's h3_resolution if available, otherwise default to 7
91-
Integer h3Resolution = post.getH3Resolution() != null ? post.getH3Resolution() : 7;
91+
Integer h3Resolution = post.getH3Resolution() != null ? post.getH3Resolution() : 8;
9292

9393
Post comment = Post.builder()
9494
.hexId(hexId)

0 commit comments

Comments
 (0)