summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--library/cpp/unified_agent_client/throttling.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/cpp/unified_agent_client/throttling.h b/library/cpp/unified_agent_client/throttling.h
index 1e5db1e8fa1..a37319e9a8c 100644
--- a/library/cpp/unified_agent_client/throttling.h
+++ b/library/cpp/unified_agent_client/throttling.h
@@ -5,6 +5,8 @@
#include <util/datetime/base.h>
namespace NUnifiedAgent {
+ // Comment from a non-author:
+ // It is based on something similar to https://en.wikipedia.org/wiki/Token_bucket
class TThrottler {
public:
explicit TThrottler(double rate, TDuration updatePeriod = TDuration::MilliSeconds(100));