public LeakyBucket(int capacity, int leaksPerSecond) { Capacity = capacity; LeakRate = leaksPerSecond; currentSize = 0; lastLeakOn = DateTime.UtcNow; }