From 17b6976f7eb072dfcb29180f93ff4a03f86c43e8 Mon Sep 17 00:00:00 2001 From: Yuji Ito Date: Tue, 9 Jan 2024 07:36:46 +0100 Subject: [PATCH] add more wait (#121) --- 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))))