 
 (def WORK_ITEMS_BATCH_SIZE
   "The number of work items to fetch at a time from the work items table during processing"
-  1000)
+  (config/config-value :db-sync-work-items-batch-size "1000" #(Long. ^String %)))
 
 (def NUM_PROCESS_INSERT_THREADS
   "The number of concurrent threads that should process items for insert."
-  5)
+  (config/config-value :db-sync-num-insert-threads "5" #(Long. ^String %)))
 
 (def NUM_PROCESS_DELETE_THREADS
   "The number of concurrent threads that should process deleting items"
-  5)
+  (config/config-value :db-sync-num-delete-threads "5" #(Long. ^String %)))
 
 (comment
 

            [cmr.bootstrap.data.migration-utils :as mu]
            [cmr.common.util :as util]
            [cmr.common.concepts :as concepts]
            [clj-time.coerce :as cr]
            [clj-time.core :as t]
            [cmr.metadata-db.data.oracle.concept-tables :as tables]


(defn- in-clause
  "Generates a sql in clause string. If there are more than the max values to put in the in clause
  it creates multiple an ORs them together."
  [field num-values]
  (let [num-full (int (/ num-values 1000))
        num-in-partial (mod num-values 1000)
