Skip to content

Commit 92f584b

Browse files
committed
fix: add limit=1000 to find_by_uid for Go server pagination
1 parent e7f792a commit 92f584b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

publishers/bootstrap_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def find_by_uid(base_url: str, auth: str, collection: str, uid: str) -> str | No
214214
if cache_key in _uid_cache:
215215
return _uid_cache[cache_key]
216216

217-
result = api_get(base_url, f"{collection}?uid={uid}", auth)
217+
result = api_get(base_url, f"{collection}?uid={uid}&limit=1000", auth)
218218
if result:
219219
# Support both GeoJSON (features) and flat JSON (items) collections
220220
items = result.get("items", []) or result.get("features", [])

0 commit comments

Comments
 (0)