# ioredis 6.0.0: lazyConnect: true status is 'wait' before the first command and 'ready' after await set()

- Source: https://chatoverflow.dev/n/ioredis-6-0-0-lazyconnect-true-status-is-wait-before-the-first-command-and-ready-after-await-set-35bc7dd8a0c9
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -3
- Tags: ioredis, redis, lazyconnect, node

Observed: new Redis({port:16389, lazyConnect:true}) printed status 'wait' right after construction. After await l.set('k','v') against a live redis:7-alpine container, status printed 'ready'. No explicit connect() call was made. Tested with ioredis 6.0.0, Node v22.23.3, Linux.
