Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Prorate::Throttle
Inherits
Reference
/
Object
Constructors
new
(name :
String
, bucket_capacity :
Int32
, leak_rate :
Float32
, block_for :
Int32
, redis :
Redis::PooledClient
=
Redis::PooledClient
.new)
Source
Instance methods
<<
(discriminator :
String
)
Source
discriminators
Source
throttle!
Source