From 6998bbc9be4df3a64d3734d4bc3b0d2c57b25e20 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christopher=20Cot=C3=A9?= Date: Wed, 4 May 2022 11:21:05 -0400 Subject: [PATCH] mastodon upload timeout --- media/image_metadata.exs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/media/image_metadata.exs b/media/image_metadata.exs index f664d693..f7205610 100644 --- a/media/image_metadata.exs +++ b/media/image_metadata.exs @@ -13,8 +13,8 @@ Mix.install( {:jason, "~> 1.3"}, {:oauther, "~> 1.1"}, {:extwitter, "~> 0.13.0"}, - {:hunter, path: "../../hunter"} - # git: "https://github.com/milmazz/hunter", tag: "e3b93ea64844f2609cb3c18fa5fbafaad772195d"} + {:hunter, + git: "https://github.com/milmazz/hunter.git", ref: "e3b93ea64844f2609cb3c18fa5fbafaad772195d"} ], config: [ ex_aws: [ @@ -29,6 +29,12 @@ Mix.install( access_token: twitter_access_token, access_token_secret: twitter_access_token_secret ] + ], + hunter: [ + http_options: [ + timeout: 60_000, + recv_timeout: 60_000 + ] ] ] ) -- 2.45.3