]> Entropealabs - photography.git/commitdiff
mastodon upload timeout
authorChristopher Coté <chris@entropealabs.com>
Wed, 4 May 2022 15:21:05 +0000 (11:21 -0400)
committerChristopher Coté <chris@entropealabs.com>
Wed, 4 May 2022 15:21:05 +0000 (11:21 -0400)
media/image_metadata.exs

index f664d693e66fb0dd02ec9b07da516f763749b4c5..f72056101d9adfe7e997e867d2c2a6761a1ec1e1 100644 (file)
@@ -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
+      ]
     ]
   ]
 )