Add comments to RkTagThrottleCollection

This commit is contained in:
sfc-gh-tclinkenbeard 2022-03-07 14:21:33 -04:00
parent 28cb7d956f
commit 3efe5803fd
1 changed files with 2 additions and 0 deletions

View File

@ -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<double> autoThrottleTag(UID id,
TransactionTag const& tag,
@ -67,6 +68,7 @@ public:
Optional<double> tpsRate = Optional<double>(),
Optional<double> expiration = Optional<double>());
// Set or update a manual tps rate limit for the specified tag and priority combination
void manualThrottleTag(UID id,
TransactionTag const& tag,
TransactionPriority priority,