We have replaced the node-redis
package with ioredis
. This new redis package is mostly api compatible with node-redis, but adds support for sentinel and cluster out of the box. It is also faster is most cases.
./config/redis
for more informationIn certain cases (perhaps streaming behind a load balancer) you many not be able to obtain both the connection.ip
and connection.port
for connecting clients. You can now toggle off this requirement with api.config.general.enforceConnectionProperties
. Keep in mind that you may have trouble identifying and accessing unique connections with this option disabled.
The api.stats
module was very rarely used, so we removed it! This will reduce make actionhero a little bit leaner. If you want to continue to use api.stats
, you can access it via a plugin:https://github.com/evantahler/ah-stats-plugin. Keep in mind that some of the core loggers (like number of active connections, actions, etc) have been removed. You can re-implement them via middleware and plugins.