mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:30:44 +00:00
fix(feishu): satisfy queue timeout lint
This commit is contained in:
@@ -79,6 +79,8 @@ async function boundedRun(
|
|||||||
try {
|
try {
|
||||||
await Promise.race([task(), timeoutPromise]);
|
await Promise.race([task(), timeoutPromise]);
|
||||||
} finally {
|
} finally {
|
||||||
if (timeoutHandle) clearTimeout(timeoutHandle);
|
if (timeoutHandle) {
|
||||||
|
clearTimeout(timeoutHandle);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user