While I’m pretty late to the party, I’ve finally found the time to update an app that is using the API that would have broken with the 2023-10 changes specifically to items_page and pagination.
At first glance it is a nice addition, however upon closer inspection I realized my fairly fast method for getting all the items in a board will no longer work.
Before, I would spin up a worker pool and start handing out page fetch requests to the workers. I could do perhaps 8 simultaneous page fetches, with each page having its own error tracking and retry logic. Any page that came up empty or less than the limit signaled the whole worker queue to finish up or abandon any pages greater than the “last page” that was discovered.
This was fairly elegant and sent minimal junk requests (a few pages past the last could happen). With the new system, it looks like there is absolutely no way to fetch pages in parallel any more, being entirely locked into the serial interface of waiting for the next cursor.
Anyone have any ideas on how to speed this up? Should I just go for much larger pages? Before I would do anywhere from 25 to 60 items per page as more than that seemed to cause increased errors and worse overall time.