use bucket rate limit for featured timeline
This commit is contained in:
@@ -30,10 +30,11 @@ export const meta = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
// 10 calls per 5 seconds
|
// Burst of 10 calls to handle tab reload, then 4/second for refresh
|
||||||
limit: {
|
limit: {
|
||||||
duration: 1000 * 5,
|
type: 'bucket',
|
||||||
max: 10,
|
size: 10,
|
||||||
|
dripSize: 4,
|
||||||
},
|
},
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user