lua-nginx-redis icon indicating copy to clipboard operation
lua-nginx-redis copied to clipboard

redis的连接池好像并没有生效?

Open lubberland opened this issue 4 years ago • 1 comments

看了您的文章和一些例子,发现使用redis的地方都是新建连接,请问尝试过连接池的使用方式吗? 在init_worker_by_lua里去初始化吗?

lubberland avatar Dec 05 '19 01:12 lubberland

@lubberland 参考这个:https://www.iteye.com/blog/jinnianshilongnian-2187328

Tinywan avatar Dec 05 '19 05:12 Tinywan