Skip to content

Commit ba6df08

Browse files
committed
refactor: increase default maximum limit for API pagination
- Updated the DEFAULT_MAX_LIMIT constant from 100 to 10000 to allow for larger pagination in API responses, enhancing data retrieval capabilities.
1 parent d52da89 commit ba6df08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust/fcb_api/src/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub const DEFAULT_BBOX: [f64; 4] = [10000.0, 306250.0, 287760.0, 623690.0];
1212
// Pagination defaults
1313
pub const DEFAULT_OFFSET: i32 = 1;
1414
pub const DEFAULT_LIMIT: i32 = 10;
15-
pub const DEFAULT_MAX_LIMIT: i32 = 100;
15+
pub const DEFAULT_MAX_LIMIT: i32 = 10000;
1616

1717
// API metadata
1818
pub const API_TITLE: &str = "3DBAG API";

0 commit comments

Comments
 (0)