Make it slightly more clear that :max-wait is denominated in milliseconds
This commit is contained in:
parent
b76312303a
commit
48c5f17ad5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
#<core$future_call$reify__5500@a6f00bc: :pending>
|
||||
|
|
|
|||
Loading…
Reference in a new issue