Skip to content

Commit 21494bd

Browse files
fix: create fresh AbortSignal per retry attempt to prevent stale timeout
Co-Authored-By: Chris K <ckorhonen@gmail.com>
1 parent 8b200e1 commit 21494bd

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/client.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ export class OpenSeaClient {
7272
{
7373
method: "GET",
7474
headers: this.defaultHeaders,
75-
signal: AbortSignal.timeout(this.timeoutMs),
7675
},
7776
path,
7877
)
@@ -111,7 +110,6 @@ export class OpenSeaClient {
111110
method: "POST",
112111
headers,
113112
body: body ? JSON.stringify(body) : undefined,
114-
signal: AbortSignal.timeout(this.timeoutMs),
115113
},
116114
path,
117115
)

0 commit comments

Comments
 (0)