arena
arena copied to clipboard
Fix queue details view showing stale Redis stats
This PR fixes #218.
Rather than relying on inconsistent behaviour which ioredis no longer appears to demonstrate, the resulting data from issuing an INFO command is parsed directly.
As an alternative to recreating the wheel with an info parser here, we could always rely on a library such as node-redis-info to have things handled.
It'd be nice if ioredis exposed their existing parsing mechanism so we don't have to choose a reimplementation strategy :\
@Rua-Yuki Mind reviewing https://github.com/bee-queue/arena/pull/459 that is similar to this implementation? If that looks OK, I'd like to merge it.