Allow disable worker

This commit is contained in:
Andrey Antukh 2022-08-12 08:52:36 +02:00
parent 95bb3f31af
commit 7fa609d5f4
6 changed files with 56 additions and 59 deletions

View file

@ -186,7 +186,7 @@
spec (or (::sv/spec mdata) (s/spec any?))
auth? (:auth mdata true)]
(l/trace :action "register" :name (::sv/name mdata))
(l/debug :hint "register method" :name (::sv/name mdata))
(with-meta
(fn [{:keys [::request] :as params}]
;; Raise authentication error when rpc method requires auth but