{
    public function register()
    {
        $this->app->set('redis_pool', function () {
            return (new RedisPool)->init()->gcSpareObject();
        });
        $this->app->set('db_pool', function () {
            return (new DBPool)->init()->gcSpareObject();
        });
    }
}
