mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 04:07:39 +00:00
perf: trim web auto-reply test cleanup backoff
This commit is contained in:
@@ -33,7 +33,7 @@ const rmDirWithRetries = async (dir: string): Promise<void> => {
|
||||
? String((err as { code?: unknown }).code)
|
||||
: null;
|
||||
if (code === "ENOTEMPTY" || code === "EBUSY" || code === "EPERM") {
|
||||
await new Promise((resolve) => setTimeout(resolve, 25));
|
||||
await new Promise((resolve) => setTimeout(resolve, 5));
|
||||
continue;
|
||||
}
|
||||
throw err;
|
||||
@@ -77,7 +77,7 @@ const _makeSessionStore = async (
|
||||
? String((err as { code?: unknown }).code)
|
||||
: null;
|
||||
if (code === "ENOTEMPTY" || code === "EBUSY" || code === "EPERM") {
|
||||
await new Promise((resolve) => setTimeout(resolve, 25));
|
||||
await new Promise((resolve) => setTimeout(resolve, 5));
|
||||
continue;
|
||||
}
|
||||
throw err;
|
||||
|
||||
Reference in New Issue
Block a user