bungle / lua-resty-session

Session library for OpenResty – flexible and secure
BSD 2-Clause "Simplified" License
320 stars 111 forks source link

how to switch redis database #60

Closed wzhsh90 closed 4 years ago

wzhsh90 commented 5 years ago

Hi: how can switch my redis database,your connect only use default database '0' .

bungle commented 5 years ago

@wzhsh90,

PR welcomed, it seems like that is not supported as a configuration parameter currently. Very easy to add though.

bungle commented 4 years ago

This is now implemented in https://github.com/bungle/lua-resty-session/tree/chore/release-3.0 branch. I will close this as I am soon releasing the 3.0.