diff --git a/lib/wca_live/synchronization/import.ex b/lib/wca_live/synchronization/import.ex index cbd16d98..c4578d2b 100644 --- a/lib/wca_live/synchronization/import.ex +++ b/lib/wca_live/synchronization/import.ex @@ -25,7 +25,7 @@ defmodule WcaLive.Synchronization.Import do # When importing a competition, all inserts happen within a single # transaction and for largest competitions it may hit the default # transaction timeout of 15s - @import_transaction_timeout 60_000 + @import_transaction_timeout 120_000 @doc """ Either inserts or updates the given competition and all the relevant diff --git a/lib/wca_live/wca/api.ex b/lib/wca_live/wca/api.ex index fa8c77ca..17073760 100644 --- a/lib/wca_live/wca/api.ex +++ b/lib/wca_live/wca/api.ex @@ -91,7 +91,7 @@ defmodule WcaLive.Wca.Api do end defp with_long_timeout(req) do - Req.merge(req, receive_timeout: 60_000) + Req.merge(req, receive_timeout: 120_000) end defp request(req, opts) do