chore: allow for a lax timeout for gha bots

This commit is contained in:
Pavel Feldman 2025-03-25 21:54:38 -07:00
parent 9f93af3a81
commit cd214cb58d

View File

@ -93,7 +93,7 @@ class MCPServer extends EventEmitter {
return new Promise((resolve, reject) => {
const timeoutId = setTimeout(() => {
reject(new Error('Timeout waiting for message'));
}, options.timeout || 5000);
}, options.timeout || 15000);
this._messageResolvers.push(message => {
clearTimeout(timeoutId);