bump limit to 100_000 versions (#731)

This commit is contained in:
Will Chen
2025-07-29 11:03:57 -07:00
committed by GitHub
parent 64a7ddd364
commit c57f6e35f0
2 changed files with 2 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ export function ChatHeader({
};
// REMINDER: KEEP UP TO DATE WITH app_handlers.ts
const versionPostfix = versions.length === 10_000 ? `+` : "";
const versionPostfix = versions.length === 100_000 ? `+` : "";
const isNotMainBranch = branchInfo && branchInfo.branch !== "main";

View File

@@ -37,7 +37,7 @@ export function registerVersionHandlers() {
fs,
dir: appPath,
// KEEP UP TO DATE WITH ChatHeader.tsx
depth: 10_000, // Limit to last 10_000 commits for performance
depth: 100_000, // Limit to last 100_000 commits for performance
});
return commits.map((commit: ReadCommitResult) => ({