fix: correct WalkPageSize to 100 (actual server PageSize cap) and update comment
This commit is contained in:
@@ -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<ReleaseDto> (no ApiResultDto envelope), matching TrackClient.
|
||||
private static readonly JsonSerializerOptions JsonOptions = new(JsonSerializerDefaults.Web);
|
||||
|
||||
Reference in New Issue
Block a user