From 7a0ccdd784db4c5de1fcd63ed3ea3da8254574c9 Mon Sep 17 00:00:00 2001 From: daniel-c-harvey Date: Tue, 23 Jun 2026 07:33:24 -0400 Subject: [PATCH] fix: correct WalkPageSize to 100 (actual server PageSize cap) and update comment --- DeepDrftPublic/Controllers/CrawlDirectiveController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DeepDrftPublic/Controllers/CrawlDirectiveController.cs b/DeepDrftPublic/Controllers/CrawlDirectiveController.cs index 40403de..76dada4 100644 --- a/DeepDrftPublic/Controllers/CrawlDirectiveController.cs +++ b/DeepDrftPublic/Controllers/CrawlDirectiveController.cs @@ -25,8 +25,8 @@ namespace DeepDrftPublic.Controllers; [ApiController] public class CrawlDirectiveController : ControllerBase { - // A generous page size keeps the walk to a handful of round-trips even for a large catalogue. - private const int WalkPageSize = 200; + // 100 is the server-side PageSize cap, so this is the largest page the walk can actually get. + private const int WalkPageSize = 100; // The release walk deserializes a bare PagedResult (no ApiResultDto envelope), matching TrackClient. private static readonly JsonSerializerOptions JsonOptions = new(JsonSerializerDefaults.Web);