Code to reproduce bullMQ issue 2466
The custom redis.conf file only exists to set "appendonly" to "yes" and "maxmemory-policy" to "noeviction"
npm run start-redis
npm run start
Wait a few seconds ~3-5 or more if you want.
npm run stop-redis
Wait a few seconds ~3-5 or more if you want.
npm run start-redis
See whether the worker starts processing the repeated job again. And whether the queues worker count goes up to 1 again or gets stuck at 0.
Repeat redis start/stop circle a few times to make sure it works, sometimes the worker does connect correctly.