bump limit to 100_000 versions (#731)
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
@@ -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) => ({
|
||||
|
||||
Reference in New Issue
Block a user