@@ -33638,6 +33638,11 @@ var require_sqlite_cache_store = __commonJS({
3363833638 }
3363933639 this.#db = new DatabaseSync(opts?.location ?? ":memory:");
3364033640 this.#db.exec(`
33641+ PRAGMA journal_mode = WAL;
33642+ PRAGMA synchronous = NORMAL;
33643+ PRAGMA temp_store = memory;
33644+ PRAGMA optimize;
33645+
3364133646 CREATE TABLE IF NOT EXISTS cacheInterceptorV${VERSION7} (
3364233647 -- Data specific to us
3364333648 id INTEGER PRIMARY KEY AUTOINCREMENT,
@@ -33657,9 +33662,8 @@ var require_sqlite_cache_store = __commonJS({
3365733662 staleAt INTEGER NOT NULL
3365833663 );
3365933664
33660- CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV${VERSION7}_url ON cacheInterceptorV${VERSION7}(url);
33661- CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV${VERSION7}_method ON cacheInterceptorV${VERSION7}(method);
33662- CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV${VERSION7}_deleteAt ON cacheInterceptorV${VERSION7}(deleteAt);
33665+ CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV${VERSION7}_getValuesQuery ON cacheInterceptorV${VERSION7}(url, method, deleteAt);
33666+ CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV${VERSION7}_deleteByUrlQuery ON cacheInterceptorV${VERSION7}(deleteAt);
3366333667 `);
3366433668 this.#getValuesQuery = this.#db.prepare(`
3366533669 SELECT
@@ -33836,7 +33840,7 @@ var require_sqlite_cache_store = __commonJS({
3383633840 this.#deleteByUrlQuery.run(this.#makeValueUrl(key));
3383733841 }
3383833842 #prune() {
33839- if (this.size <= this.#maxCount) {
33843+ if (Number.isFinite(this.#maxCount) && this.size <= this.#maxCount) {
3384033844 return 0;
3384133845 }
3384233846 {
@@ -41375,7 +41379,7 @@ async function waitForAccessToken(request2, clientId, clientType, verification)
4137541379 return waitForAccessToken(request2, clientId, clientType, verification);
4137641380 }
4137741381 if (errorType === "slow_down") {
41378- await wait(verification.interval + 5 );
41382+ await wait(verification.interval + 7 );
4137941383 return waitForAccessToken(request2, clientId, clientType, verification);
4138041384 }
4138141385 throw error;
@@ -42345,7 +42349,7 @@ async function sendRequestWithRetries(state, request2, options, createdAt, retri
4234542349 return sendRequestWithRetries(state, request2, options, createdAt, retries);
4234642350 }
4234742351}
42348- var VERSION6 = "7.2.0 ";
42352+ var VERSION6 = "7.2.1 ";
4234942353function createAppAuth(options) {
4235042354 if (!options.appId) {
4235142355 throw new Error("[@octokit/auth-app] appId option is required");
@@ -42694,14 +42698,10 @@ var main_default = main(
4269442698/*! Bundled license information:
4269542699
4269642700undici/lib/fetch/body.js:
42697- (*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
42698-
42699- undici/lib/websocket/frame.js:
42700- (*! ws. MIT License. Einar Otto Stangvik <
[email protected] > *)
42701-
4270242701undici/lib/web/fetch/body.js:
4270342702 (*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
4270442703
42704+ undici/lib/websocket/frame.js:
4270542705undici/lib/web/websocket/frame.js:
4270642706 (*! ws. MIT License. Einar Otto Stangvik <
[email protected] > *)
4270742707
0 commit comments