   [host executor-state]
   (str "http://" host ":5051"
        "/files/read.json?path="
-       (java.net.URLEncoder/encode (get executor-state "directory") "UTF-8")))
+       (URLEncoder/encode (get executor-state "directory") "UTF-8")))
 
 (defn fetch-job-map
   [db fid job-uuid]

                                      :resource/amount (double gpus)}]))])
        commit-latch-id (d/tempid :db.part/user)
        commit-latch {:db/id commit-latch-id
                      :commit-latch/uuid (java.util.UUID/randomUUID)
                      :commit-latch/committed? true}
        txn {:db/id db-id
             :job/commit-latch commit-latch-id
             :job/uuid uuid
             :job/submit-time (java.util.Date.)
             :job/name (or name "cookjob") ; set the default job name if not provided.
             :job/command command
             :job/custom-executor false

                              since-hours-ago ::since-hours-ago
                              limit ::limit} ctx
                             start (if start-ms
                                     (Date. start-ms)
                                     (Date. (- end-ms (-> since-hours-ago t/hours t/in-millis))))
                             end (Date. end-ms)
                             job-uuids (->> (timers/time!
                                              fetch-jobs
                                              ;; Get valid timings
