From da7f88c7ca1ba0d8c456af7d3bec447e77401ddc Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 24 Nov 2023 15:14:45 +0100 Subject: [PATCH] :fire: Remove executor internal dependency on storage module --- backend/src/app/main.clj | 1 - backend/src/app/storage.clj | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/src/app/main.clj b/backend/src/app/main.clj index 160f9d1ba..c9725d27a 100644 --- a/backend/src/app/main.clj +++ b/backend/src/app/main.clj @@ -439,7 +439,6 @@ ::sto/storage {::db/pool (ig/ref ::db/pool) - ::wrk/executor (ig/ref ::wrk/executor) ::sto/backends {:assets-s3 (ig/ref [::assets :app.storage.s3/backend]) :assets-fs (ig/ref [::assets :app.storage.fs/backend])}} diff --git a/backend/src/app/storage.clj b/backend/src/app/storage.clj index be0159e0f..f17d1e245 100644 --- a/backend/src/app/storage.clj +++ b/backend/src/app/storage.clj @@ -18,7 +18,6 @@ [app.storage.impl :as impl] [app.storage.s3 :as ss3] [app.util.time :as dt] - [app.worker :as wrk] [clojure.spec.alpha :as s] [datoteka.fs :as fs] [integrant.core :as ig] @@ -40,7 +39,7 @@ :fs ::sfs/backend)))) (defmethod ig/pre-init-spec ::storage [_] - (s/keys :req [::db/pool ::wrk/executor ::backends])) + (s/keys :req [::db/pool ::backends])) (defmethod ig/init-key ::storage [_ {:keys [::backends ::db/pool] :as cfg}]