fix: extend timeout for schematic query commands on large files
Add list_schematic_nets, list_schematic_labels, and get_schematic_view to the longRunningCommands list so they use the 10-minute timeout instead of the default 30 seconds. These commands regularly exceed the 30s limit on larger schematic files.
This commit is contained in:
@@ -522,6 +522,9 @@ export class KiCADMcpServer {
|
||||
"export_pdf",
|
||||
"export_3d",
|
||||
"sync_schematic_to_board",
|
||||
"list_schematic_nets",
|
||||
"list_schematic_labels",
|
||||
"get_schematic_view",
|
||||
];
|
||||
if (longRunningCommands.includes(command)) {
|
||||
commandTimeout = 600000; // 10 minutes for long operations
|
||||
|
||||
Reference in New Issue
Block a user