Wildhoney / RedisCache

Simple Node.js based Redis cache for storing large collections of data.
16 stars 7 forks source link

Older Redis version doesn't allow for passing in db in createClient options #4

Closed hackerrdave closed 7 years ago

hackerrdave commented 7 years ago

older versions of redis module have this bug when initializing RedisClient

this.selected_db = null

this has been fixed in later versions to be

this.selected_db = options.db

can you upgrade package version of redis to the latest? thanks