edgurgel / verk

A job processing system that just verks! 🧛‍
https://hex.pm/packages/verk
MIT License
723 stars 65 forks source link

Connect to Redix via ipv6? #206

Open heyitsjames opened 1 year ago

heyitsjames commented 1 year ago

Hi, I'm deploying my app to a production environment which employs a managed Redis that uses ipv6 as the connection url. Redix supports ipv6 via passing socket_opts: [:inet6] to Redix.start_link/2. However, it looks like Verk doesn't allow passing extra options to Redix, using Redix.start_link/2 with just a url and no additional options.

Is there any way to start Redix with ipv6 in Verk? Thanks.

Here's a related Redix issue discussing ipv6: https://github.com/whatyouhide/redix/issues/222

edgurgel commented 1 year ago

Hmm yeah we might need to add an option to configure Redix more directly :thinking:

Maybe some arguments to the Verk.Supervisor?