Skip to content

Commit

Permalink
fix: lower the timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mary-ext committed Dec 20, 2024
1 parent a6d5a3f commit 8575640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/check-online.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ await Promise.all(

const start = performance.now();

const signal = AbortSignal.timeout(15_000);
const signal = AbortSignal.timeout(2_000);
const meta = await rpc
.get('com.atproto.server.describeServer', { signal, headers: DEFAULT_HEADERS })
.then(({ data: rawData }) => {
Expand Down Expand Up @@ -197,7 +197,7 @@ await Promise.all(

const start = performance.now();

const signal = AbortSignal.timeout(15_000);
const signal = AbortSignal.timeout(2_000);
const meta = await rpc
.get('com.atproto.label.queryLabels', {
signal: signal,
Expand Down

0 comments on commit 8575640

Please sign in to comment.