Skip to content

Commit 08c9c96

Browse files
author
Pablo Lopez
committed
force transport tls
1 parent d9d9216 commit 08c9c96

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/kinetic.erl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,4 +317,7 @@ start_pool(Opts) ->
317317
Endpoint = kinetic_utils:endpoint(Region),
318318
PoolSize = application:get_env(?MODULE, pool_size, 100),
319319
ehttpc_sup:start_pool(?EHTTPC_POOL,
320-
[{host, Endpoint}, {port, 443}, {pool_size, PoolSize}]).
320+
[{host, Endpoint},
321+
{port, 443},
322+
{pool_size, PoolSize},
323+
{gun_opts, [{transport, tls}]}]).

0 commit comments

Comments
 (0)