mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
increase chart rate limits to max=200 and rate=5/s
This commit is contained in:
parent
9e8e08eb57
commit
4ed1ea8f89
12 changed files with 36 additions and 36 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue