diff --git a/plugins/directus.ts b/plugins/directus.ts index 54d83ff..d5d604b 100644 --- a/plugins/directus.ts +++ b/plugins/directus.ts @@ -5,7 +5,7 @@ import type { Schema } from '~/types/schema'; const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); -const queue = new Queue({ intervalCap: 15, interval: 500, carryoverConcurrencyCount: true }); +const queue = new Queue({ intervalCap: 10, interval: 1000, carryoverConcurrencyCount: true }); export default defineNuxtPlugin((nuxtApp) => { const route = useRoute(); diff --git a/plugins/tv.ts b/plugins/tv.ts index c148b41..3178773 100644 --- a/plugins/tv.ts +++ b/plugins/tv.ts @@ -5,7 +5,7 @@ import type { Schema } from '~/types/schema'; const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); -const queue = new Queue({ intervalCap: 15, interval: 500, carryoverConcurrencyCount: true }); +const queue = new Queue({ intervalCap: 10, interval: 1000, carryoverConcurrencyCount: true }); export default defineNuxtPlugin((nuxtApp) => { const route = useRoute();