mirror of
https://github.com/penpot/penpot.git
synced 2025-04-05 03:21:26 -05:00
🔥 Remove executor internal dependency on storage module
This commit is contained in:
parent
97f8315cd0
commit
da7f88c7ca
2 changed files with 1 additions and 3 deletions
|
@ -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])}}
|
||||
|
|
|
@ -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}]
|
||||
|
|
Loading…
Add table
Reference in a new issue