mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-09 02:24:11 +08:00
feat: Increase indexing timeout to 30 minutes for large codebases
- /api/codexlens/init: 5min → 30min - smart-search init action: 5min → 30min - executeInitWithProgress: 5min → 30min - executeCodexLens default: 1min → 5min 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -428,7 +428,7 @@ function parseProgressLine(line: string): ProgressInfo | null {
|
||||
* @returns Execution result
|
||||
*/
|
||||
async function executeCodexLens(args: string[], options: ExecuteOptions = {}): Promise<ExecuteResult> {
|
||||
const { timeout = 60000, cwd = process.cwd(), onProgress } = options;
|
||||
const { timeout = 300000, cwd = process.cwd(), onProgress } = options; // Default 5 min
|
||||
|
||||
// Ensure ready
|
||||
const readyStatus = await ensureReady();
|
||||
|
||||
@@ -349,7 +349,7 @@ async function executeInitAction(params: Params): Promise<SearchResult> {
|
||||
|
||||
const result = await executeCodexLens(args, {
|
||||
cwd: path,
|
||||
timeout: 300000,
|
||||
timeout: 1800000, // 30 minutes for large codebases
|
||||
onProgress: (progress: ProgressInfo) => {
|
||||
progressUpdates.push(progress);
|
||||
lastProgress = progress;
|
||||
@@ -1170,7 +1170,7 @@ export async function executeInitWithProgress(
|
||||
|
||||
const result = await executeCodexLens(args, {
|
||||
cwd: path,
|
||||
timeout: 300000,
|
||||
timeout: 1800000, // 30 minutes for large codebases
|
||||
onProgress: (progress: ProgressInfo) => {
|
||||
progressUpdates.push(progress);
|
||||
lastProgress = progress;
|
||||
|
||||
Reference in New Issue
Block a user