File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
clojure/wheel/src/wheel/infra/cron/job Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 66(qj/defjob AllocateOrderJob [ctx]
77 (job/handle channel/allocate-order ctx))
88
9- (defmethod job /jobtype :allocate-order [_]
9+ (defmethod job /job-type :allocate-order [_]
1010 AllocateOrderJob )
Original file line number Diff line number Diff line change 88 [wheel.middleware.event :as event]
99 [wheel.infra.log :as log]))
1010
11- (defmulti jobtype :type )
11+ (defmulti job-type :type )
1212
1313(defn- identifier [{:keys [channel-id type]}]
1414 (str channel-id " /" (name type)))
1515
1616(defn- create-job [channel-config cron-job-config]
1717 (qj/build
18- (qj/of-type (jobtype cron-job-config))
18+ (qj/of-type (job-type cron-job-config))
1919 (qj/using-job-data {:channel-config channel-config
2020 :cron-job-config cron-job-config})
2121 (qj/with-identity (qj/key (identifier cron-job-config)))))
You can’t perform that action at this time.
0 commit comments