RegisterPruneTimer
class RegisterPruneTimer
Methods
__construct(Repository $config, RateLimiter $rateLimiter, Timer $timer)
Create a new Swoole rate limiter prune-timer listener.
void
store(string $name)
Get a configured Swoole rate limiter store.
Details
at line 20
__construct(Repository $config, RateLimiter $rateLimiter, Timer $timer)
Create a new Swoole rate limiter prune-timer listener.
at line 30
void
handle(AfterWorkerStart $event)
Register a prune timer for every configured Swoole store.
at line 89
protected SwooleStore
store(string $name)
Get a configured Swoole rate limiter store.