proletarian

emccue 2023-01-21T14:30:44.846609Z

so on a scale of 1-100, how bad of an idea is it to just make my "execute job" do a requiring-resolve?

emccue 2023-01-21T14:31:15.434429Z

(defn handle-job!
  [system job-type payload]
  (@(requiring-resolve (symbol job-type))
    system payload))

emccue 2023-01-21T17:31:29.657909Z

also just a heads up on a reflection warning > Reflection warning, proletarian/worker.clj:235:16 - call to static method sleep on java.lang.Thread can't be resolved (argument types: java.lang.Number).