Skip to content

Creating redis client using options object without host and port. #1420

Open
@mikhailsidorov

Description

@mikhailsidorov

This code runs without error, even if there is no running local server. Is it correct behavior or a bug?

const redis = require('redis')
const redisClient = redis.createClient({ retry_strategy: () => 1000 })
  • Version: 2.8.
  • Platform: Node.js 10.15.3 Mac OS X Mojave, Node.js 11 alpine, Node.js 10.15.3 alpine
  • Description: Creating redis client using options object without host and port.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EvaluatingThis ticket is still taken into consideration without a clear path forward.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions