(start-worker dbspec config)
(start-worker dbspec config timeout)
Starts working on several threads until queue is empty. On timeout worker will be asked to stop. Returns a tuple: worker, vector of acks, elapsed time in msec.
Starts working on several threads until queue is empty. On timeout worker will be asked to stop. Returns a tuple: worker, vector of acks, elapsed time in msec.
(test-worker-processes-all-jobs-in-order-of-arrival config)
(test-worker-with-several-threads-finishes-faster-that-a-single-threaded-worker
queues)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close