mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-21 20:25:52 +00:00
Database read throttle (#242)
Track current outstanding read requests to the database. When the configured limit is exceeded, reject new RPCs and return rpcTOO_BUSY
This commit is contained in:
@@ -156,6 +156,12 @@ public:
|
||||
bool
|
||||
doFinishWrites() override;
|
||||
|
||||
bool
|
||||
isTooBusy() const override
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
doOnlineDelete(
|
||||
std::uint32_t const numLedgersToKeep,
|
||||
|
||||
Reference in New Issue
Block a user