         task-spec (normalize-task-spec raw-task-spec)
         db-task-spec (spec/get-or-create-task-spec task-spec)
         errors (validated-task-spec task-spec)
-        task-row (conj (select-keys task-spec [:name :state :error :priority])
+        task-row (conj (select-keys task-spec [:name :state :error :priority :dispatch_storm_delay_seconds])
                        {:job_id job-id
                         :traits (spec-map-to-array (or (:traits task-spec) {}))
                         :entity_errors errors

             (rest pending-checks))
      errors)))

;### normalize task-spec ######################################################

(defn- normalize-aggregate-succes [spec]


(ns cider-ci.builder.task
  (:require
    [cider-ci.builder.spec :as spec]
    [cider-ci.builder.util :as util]

    [cider-ci.utils.config :as config]
    [cider-ci.utils.duration :as duration]
    [cider-ci.utils.rdbms :as rdbms]

    [clojure.java.jdbc :as jdbc]

    [clojure.tools.logging :as logging]
    [logbug.debug :as debug]

  ))


