From 4f602d1f7f4cd8c22bac213184737fba52466af1 Mon Sep 17 00:00:00 2001 From: Mayeu Date: Sat, 20 Jul 2024 13:46:19 +0200 Subject: [PATCH] fix: type Finch.request_opt() was missing the :request_timeout option --- lib/finch.ex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/finch.ex b/lib/finch.ex index 2c22585..cc7115f 100644 --- a/lib/finch.ex +++ b/lib/finch.ex @@ -104,7 +104,10 @@ defmodule Finch do @type scheme_host_port() :: {scheme(), host :: String.t(), port :: :inet.port_number()} - @type request_opt() :: {:pool_timeout, timeout()} | {:receive_timeout, timeout()} + @type request_opt() :: + {:pool_timeout, timeout()} + | {:receive_timeout, timeout()} + | {:request_timeout, timeout()} @typedoc """ Options used by request functions.