🔥 Remove executor internal dependency on rpc routes module

This commit is contained in:
Andrey Antukh 2023-11-24 15:15:35 +01:00
parent da7f88c7ca
commit 1bd32327e5
2 changed files with 1 additions and 5 deletions

View file

@ -337,7 +337,6 @@
:app.rpc/routes :app.rpc/routes
{::rpc/methods (ig/ref :app.rpc/methods) {::rpc/methods (ig/ref :app.rpc/methods)
::db/pool (ig/ref ::db/pool) ::db/pool (ig/ref ::db/pool)
::wrk/executor (ig/ref ::wrk/executor)
::session/manager (ig/ref ::session/manager) ::session/manager (ig/ref ::session/manager)
::props (ig/ref ::setup/props)} ::props (ig/ref ::setup/props)}

View file

@ -30,7 +30,6 @@
[app.storage :as-alias sto] [app.storage :as-alias sto]
[app.util.services :as sv] [app.util.services :as sv]
[app.util.time :as dt] [app.util.time :as dt]
[app.worker :as-alias wrk]
[clojure.spec.alpha :as s] [clojure.spec.alpha :as s]
[integrant.core :as ig] [integrant.core :as ig]
[promesa.core :as p] [promesa.core :as p]
@ -239,8 +238,7 @@
::ldap/provider ::ldap/provider
::sto/storage ::sto/storage
::mtx/metrics ::mtx/metrics
::main/props ::main/props]
::wrk/executor]
:opt [::climit :opt [::climit
::rlimit] ::rlimit]
:req-un [::db/pool])) :req-un [::db/pool]))
@ -259,7 +257,6 @@
(s/keys :req [::methods (s/keys :req [::methods
::db/pool ::db/pool
::main/props ::main/props
::wrk/executor
::session/manager])) ::session/manager]))
(defmethod ig/init-key ::routes (defmethod ig/init-key ::routes