From ca0eb1c121051afc2d6adfc1486815ac000add75 Mon Sep 17 00:00:00 2001 From: yito88 Date: Sat, 6 Jan 2024 21:46:44 +0100 Subject: [PATCH] add more wait --- scalardb/src/scalardb/core.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/scalardb/src/scalardb/core.clj b/scalardb/src/scalardb/core.clj index cb0089a..b711893 100644 --- a/scalardb/src/scalardb/core.clj +++ b/scalardb/src/scalardb/core.clj @@ -32,6 +32,7 @@ (when (zero? retries) (throw (ex-info "Failed to set up tables" {:schema schema}))) (when (< retries RETRIES) + (exponential-backoff (- RETRIES retries)) (try (SchemaLoader/unload properties schema true) (catch Exception e (warn (.getMessage e))))