perf: trim web auto-reply test cleanup backoff

This commit is contained in:
Peter Steinberger
2026-02-13 19:19:11 +00:00
parent 1c7a099b6d
commit 34eb14d24f
12 changed files with 23 additions and 23 deletions

View File

@@ -34,7 +34,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;
@@ -78,7 +78,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;