From 48c5f17ad57c2c13458f8a6c8f2a1064523938e2 Mon Sep 17 00:00:00 2001 From: Chas Emerick Date: Wed, 13 Feb 2013 14:04:46 -0500 Subject: [PATCH] Make it slightly more clear that :max-wait is denominated in milliseconds --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a38456c..edcb457 100644 --- a/README.md +++ b/README.md @@ -222,7 +222,7 @@ and another consumes those messages using a lazy seq provided by `polling-receiv #> (defn consume-dummy-messages [client q] (future (dorun (map (sqs/deleting-consumer client (comp println :body)) - (sqs/polling-receive client q :max-wait Integer/MAX_VALUE :limit 10))))) + (sqs/polling-receive client q :max-wait Long/MAX_VALUE :limit 10))))) #'cemerick.bandalore-test/consume-dummy-messages #> (consume-dummy-messages client q) ;; start the consumer #