diff --git a/src/lib/GoogleSpreadsheet.ts b/src/lib/GoogleSpreadsheet.ts index 4eb1019..6a69c43 100644 --- a/src/lib/GoogleSpreadsheet.ts +++ b/src/lib/GoogleSpreadsheet.ts @@ -125,6 +125,7 @@ export class GoogleSpreadsheet { // create a ky instance with sheet root URL and hooks to handle auth this.sheetsApi = ky.create({ prefixUrl: `${SHEETS_API_BASE_URL}/${spreadsheetId}`, + timeout: 180_000, hooks: { beforeRequest: [(r) => this._setAuthRequestHook(r)], beforeError: [(e) => this._errorHook(e)],