Skip to content

Conversation

@eric-musliner
Copy link

Addresses issue described in 212

  • Adds deferredHostname and deferredPort internal properties to store unresolved hostname info
  • If immediate hostname resolution on creation of RedisConfiguration fails, retry gracefully on pool creation and on boot
  • RedisStorage retries hostname resolution on boot
  • Adds public APIs for checking if configuration has unresolved hostnames and to manually retry

Issue: 212

Adds deferred hostname resolution functionality

@eric-musliner eric-musliner force-pushed the eric-musliner/deferred-host-resolution branch from 6c173b9 to d79f457 Compare July 8, 2025 15:57
 - If immediate hostname resolution on creation of RedisConfiguration
   fails, retry gracefully on pool creation and on boot

Issue: 212
@eric-musliner eric-musliner force-pushed the eric-musliner/deferred-host-resolution branch from d79f457 to ba30e90 Compare July 9, 2025 14:40
@eric-musliner eric-musliner changed the title Adds deferred hostname resolution functionality Add deferred hostname resolution functionality Jul 9, 2025
eric-musliner added a commit to eric-musliner/redis-om-swift that referenced this pull request Oct 19, 2025
 - Retry policy dictates how RedisOM will attempt to establish connection
   and how many times it will retry before quitting. Default .infinite
 - Fully integrates changes introduced here for the RedisConfiguration
   vapor/redis#221
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant