merge: Increase chart rate limits (!1065)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1065

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
Marie 2025-05-30 16:25:01 +00:00
commit 544d169884
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;