From 7aaa40e8e3ec68efd0430969d703b24d58578b9b Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 31 Aug 2026 16:58:15 -0500 Subject: [PATCH] Add comment --- src/state/queries/util.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/state/queries/util.ts b/src/state/queries/util.ts index f35b2dcbc9..580ba9493e 100644 --- a/src/state/queries/util.ts +++ b/src/state/queries/util.ts @@ -9,6 +9,12 @@ import { import {app} from '#/lexicons' import * as bsky from '#/types/bsky' +/** + * The appview does its own `fillPage`, and defaults to 10 pages. Previously + * the frontend tried up to 50 pages, thus the MAX_ATTEMPTS of 5 is a + * reasonable compromise to match pre-existing behavior and without blowing up + * our backend. + */ const MAX_ATTEMPTS = 5 type AutoPaginationQuery = {