chore: allow for a lax timeout for gha bots
This commit is contained in:
parent
9f93af3a81
commit
cd214cb58d
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ class MCPServer extends EventEmitter {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
const timeoutId = setTimeout(() => {
|
const timeoutId = setTimeout(() => {
|
||||||
reject(new Error('Timeout waiting for message'));
|
reject(new Error('Timeout waiting for message'));
|
||||||
}, options.timeout || 5000);
|
}, options.timeout || 15000);
|
||||||
|
|
||||||
this._messageResolvers.push(message => {
|
this._messageResolvers.push(message => {
|
||||||
clearTimeout(timeoutId);
|
clearTimeout(timeoutId);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue