increase chart rate limits to max=200 and rate=5/s

This commit is contained in:
Hazelnoot 2025-05-25 00:52:41 -04:00
parent 9e8e08eb57
commit 4ed1ea8f89
12 changed files with 36 additions and 36 deletions

View file

@ -17,11 +17,11 @@ export const meta = {
allowGet: true, allowGet: true,
cacheSec: 60 * 60, cacheSec: 60 * 60,
// Burst up to 100, then 2/sec average // Burst up to 200, then 5/sec average
limit: { limit: {
type: 'bucket', type: 'bucket',
size: 100, size: 200,
dripRate: 500, dripRate: 200,
}, },
} as const; } as const;

View file

@ -17,11 +17,11 @@ export const meta = {
allowGet: true, allowGet: true,
cacheSec: 60 * 60, cacheSec: 60 * 60,
// Burst up to 100, then 2/sec average // Burst up to 200, then 5/sec average
limit: { limit: {
type: 'bucket', type: 'bucket',
size: 100, size: 200,
dripRate: 500, dripRate: 200,
}, },
} as const; } as const;

View file

@ -17,11 +17,11 @@ export const meta = {
allowGet: true, allowGet: true,
cacheSec: 60 * 60, cacheSec: 60 * 60,
// Burst up to 100, then 2/sec average // Burst up to 200, then 5/sec average
limit: { limit: {
type: 'bucket', type: 'bucket',
size: 100, size: 200,
dripRate: 500, dripRate: 200,
}, },
} as const; } as const;

View file

@ -17,11 +17,11 @@ export const meta = {
allowGet: true, allowGet: true,
cacheSec: 60 * 60, cacheSec: 60 * 60,
// Burst up to 100, then 2/sec average // Burst up to 200, then 5/sec average
limit: { limit: {
type: 'bucket', type: 'bucket',
size: 100, size: 200,
dripRate: 500, dripRate: 200,
}, },
} as const; } as const;

View file

@ -17,11 +17,11 @@ export const meta = {
allowGet: true, allowGet: true,
cacheSec: 60 * 60, cacheSec: 60 * 60,
// Burst up to 100, then 2/sec average // Burst up to 200, then 5/sec average
limit: { limit: {
type: 'bucket', type: 'bucket',
size: 100, size: 200,
dripRate: 500, dripRate: 200,
}, },
} as const; } as const;

View file

@ -17,11 +17,11 @@ export const meta = {
allowGet: true, allowGet: true,
cacheSec: 60 * 60, cacheSec: 60 * 60,
// Burst up to 100, then 2/sec average // Burst up to 200, then 5/sec average
limit: { limit: {
type: 'bucket', type: 'bucket',
size: 100, size: 200,
dripRate: 500, dripRate: 200,
}, },
} as const; } as const;

View file

@ -17,11 +17,11 @@ export const meta = {
allowGet: true, allowGet: true,
cacheSec: 60 * 60, cacheSec: 60 * 60,
// Burst up to 100, then 2/sec average // Burst up to 200, then 5/sec average
limit: { limit: {
type: 'bucket', type: 'bucket',
size: 100, size: 200,
dripRate: 500, dripRate: 200,
}, },
} as const; } as const;

View file

@ -17,11 +17,11 @@ export const meta = {
allowGet: true, allowGet: true,
cacheSec: 60 * 60, cacheSec: 60 * 60,
// Burst up to 100, then 2/sec average // Burst up to 200, then 5/sec average
limit: { limit: {
type: 'bucket', type: 'bucket',
size: 100, size: 200,
dripRate: 500, dripRate: 200,
}, },
} as const; } as const;

View file

@ -17,11 +17,11 @@ export const meta = {
allowGet: true, allowGet: true,
cacheSec: 60 * 60, cacheSec: 60 * 60,
// Burst up to 100, then 2/sec average // Burst up to 200, then 5/sec average
limit: { limit: {
type: 'bucket', type: 'bucket',
size: 100, size: 200,
dripRate: 500, dripRate: 200,
}, },
} as const; } as const;

View file

@ -17,11 +17,11 @@ export const meta = {
allowGet: true, allowGet: true,
cacheSec: 60 * 60, cacheSec: 60 * 60,
// Burst up to 100, then 2/sec average // Burst up to 200, then 5/sec average
limit: { limit: {
type: 'bucket', type: 'bucket',
size: 100, size: 200,
dripRate: 500, dripRate: 200,
}, },
} as const; } as const;

View file

@ -17,11 +17,11 @@ export const meta = {
allowGet: true, allowGet: true,
cacheSec: 60 * 60, cacheSec: 60 * 60,
// Burst up to 100, then 2/sec average // Burst up to 200, then 5/sec average
limit: { limit: {
type: 'bucket', type: 'bucket',
size: 100, size: 200,
dripRate: 500, dripRate: 200,
}, },
} as const; } as const;

View file

@ -17,11 +17,11 @@ export const meta = {
allowGet: true, allowGet: true,
cacheSec: 60 * 60, cacheSec: 60 * 60,
// Burst up to 100, then 2/sec average // Burst up to 200, then 5/sec average
limit: { limit: {
type: 'bucket', type: 'bucket',
size: 100, size: 200,
dripRate: 500, dripRate: 200,
}, },
} as const; } as const;