From 1bd32327e5c58daf72ed5ff68717fca777ceb37e Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 24 Nov 2023 15:15:35 +0100 Subject: [PATCH] :fire: Remove executor internal dependency on rpc routes module --- backend/src/app/main.clj | 1 - backend/src/app/rpc.clj | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/backend/src/app/main.clj b/backend/src/app/main.clj index c9725d27a..a37836a71 100644 --- a/backend/src/app/main.clj +++ b/backend/src/app/main.clj @@ -337,7 +337,6 @@ :app.rpc/routes {::rpc/methods (ig/ref :app.rpc/methods) ::db/pool (ig/ref ::db/pool) - ::wrk/executor (ig/ref ::wrk/executor) ::session/manager (ig/ref ::session/manager) ::props (ig/ref ::setup/props)} diff --git a/backend/src/app/rpc.clj b/backend/src/app/rpc.clj index 2ede5681f..d51464927 100644 --- a/backend/src/app/rpc.clj +++ b/backend/src/app/rpc.clj @@ -30,7 +30,6 @@ [app.storage :as-alias sto] [app.util.services :as sv] [app.util.time :as dt] - [app.worker :as-alias wrk] [clojure.spec.alpha :as s] [integrant.core :as ig] [promesa.core :as p] @@ -239,8 +238,7 @@ ::ldap/provider ::sto/storage ::mtx/metrics - ::main/props - ::wrk/executor] + ::main/props] :opt [::climit ::rlimit] :req-un [::db/pool])) @@ -259,7 +257,6 @@ (s/keys :req [::methods ::db/pool ::main/props - ::wrk/executor ::session/manager])) (defmethod ig/init-key ::routes