Skip to content

Commit

Permalink
Add more interval (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantgillespie committed Apr 23, 2024
1 parent 07a7f7d commit cd43733
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/directus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion plugins/tv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit cd43733

Please sign in to comment.