Skip to content
  • Nathan Harris's avatar
    Add static property for default RedisConnection port · 73b3f5df
    Nathan Harris authored
    Motivation:
    
    The default port for Redis is well published to be 6379, and it is common to want to pass this value around or use it as a static default value in methods and initializers.
    
    Modifications:
    
    Add `RedisConnection.defaultPort` static property for all users to use, and update references of the `6379` literals to use new  the new property.
    
    Result:
    
    Users should have a reliable default defined to use everywhere to avoid bugs.
    73b3f5df