diff --git a/fdbserver/RkTagThrottleCollection.h b/fdbserver/RkTagThrottleCollection.h index 2aebec8603..35062cdb7c 100644 --- a/fdbserver/RkTagThrottleCollection.h +++ b/fdbserver/RkTagThrottleCollection.h @@ -60,6 +60,7 @@ public: RkTagThrottleCollection(RkTagThrottleCollection&& other); RkTagThrottleCollection& operator=(RkTagThrottleCollection&& other); + // Set or update an auto throttling limit for the specified tag and priority combination. // Returns the TPS rate if the throttle is updated, otherwise returns an empty optional Optional autoThrottleTag(UID id, TransactionTag const& tag, @@ -67,6 +68,7 @@ public: Optional tpsRate = Optional(), Optional expiration = Optional()); + // Set or update a manual tps rate limit for the specified tag and priority combination void manualThrottleTag(UID id, TransactionTag const& tag, TransactionPriority priority,