mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-28 02:20:42 +00:00
Decrease CONSOLE_CONCURRENCY.
Last run with 128 created too much load on cplane.
This commit is contained in:
@@ -121,7 +121,10 @@ pub async fn find_garbage(
|
||||
const S3_CONCURRENCY: usize = 32;
|
||||
|
||||
// How many concurrent API requests to make to the console API.
|
||||
const CONSOLE_CONCURRENCY: usize = 128;
|
||||
//
|
||||
// Be careful increasing this; roughly we shouldn't have more than ~100 rps. It
|
||||
// would be better to implement real rsp limiter.
|
||||
const CONSOLE_CONCURRENCY: usize = 16;
|
||||
|
||||
struct ConsoleCache {
|
||||
/// Set of tenants found in the control plane API
|
||||
|
||||
Reference in New Issue
Block a user