 
   https://forums.couchbase.com/t/how-does-stale-query-work/870"
   [& args]
-  (let [  ^clojure.core.async.impl.channels.ManyToManyChannel stat-chan (chan)
-          ^clojure.core.async.impl.channels.ManyToManyChannel work-chan (chan)
-          ^clojure.lang.PersistentHashMap                     config    (read-config "conf/app.edn") ]
+  (let [  ^ManyToManyChannel stat-chan (chan)
+          ^ManyToManyChannel work-chan (chan)
+          ^PersistentHashMap config    (read-config "conf/app.edn") ]
     ;; INIT
     (log/info "init :: start")
     (log/info "checking config...")

(defn uuid
  "Returns a new java.util.UUID as string" 
  []
  (str (java.util.UUID/randomUUID)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



(defn exit [n] 
  (log/info "init :: stop")
  (System/exit n))

;; Getting better names for the async functions

