diff --git a/backend/app/services/streams/cloud_providers/hetzner.rb b/backend/app/services/streams/cloud_providers/hetzner.rb index aa26ca1..a61f853 100644 --- a/backend/app/services/streams/cloud_providers/hetzner.rb +++ b/backend/app/services/streams/cloud_providers/hetzner.rb @@ -139,11 +139,20 @@ module Streams end def get(path, params = {}) - response = conn.get(path) do |req| - req.headers.update(auth_headers) - req.params.update(params) + tries = 0 + begin + response = conn.get(path) do |req| + req.headers.update(auth_headers) + req.params.update(params) + end + unwrap!(response) + rescue Faraday::SSLError, Faraday::ConnectionFailed, Faraday::TimeoutError + tries += 1 + raise if tries >= 5 + + sleep 2 + retry end - unwrap!(response) end def post(path, body) diff --git a/brand/Logo-dark-nome.png b/brand/Logo-dark-nome.png new file mode 100644 index 0000000..5f652a6 Binary files /dev/null and b/brand/Logo-dark-nome.png differ diff --git a/brand/Logo-white-nome.png b/brand/Logo-white-nome.png new file mode 100644 index 0000000..e354b44 Binary files /dev/null and b/brand/Logo-white-nome.png differ diff --git a/brand/Logo-white-nome_firma.png b/brand/Logo-white-nome_firma.png new file mode 100644 index 0000000..d9f98ea Binary files /dev/null and b/brand/Logo-white-nome_firma.png differ