Skip to content

Commit 5732983

Browse files
feat: expand default timeout of notion-api collection queries to 60s
1 parent 856e6b8 commit 5732983

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/notion-client/src/notion-api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ export class NotionAPI {
530530
loader
531531
},
532532
kyOptions: {
533+
timeout: 60_000,
533534
...kyOptions,
534535
searchParams: {
535536
// TODO: spread kyOptions?.searchParams

0 commit comments

Comments
 (0)