From b8cd876bd8dd2e85c0ac3ddf66cf18f7659792f7 Mon Sep 17 00:00:00 2001 From: vitaliito Date: Fri, 19 Jan 2024 09:55:31 -0800 Subject: [PATCH] documentation --- lib/pheme/queue_poller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pheme/queue_poller.rb b/lib/pheme/queue_poller.rb index b779501..0199a81 100644 --- a/lib/pheme/queue_poller.rb +++ b/lib/pheme/queue_poller.rb @@ -29,7 +29,7 @@ def initialize(queue_url:, @poller_configuration = { wait_time_seconds: 10, # amount of time a long polling receive call can wait for a message before receiving a empty response (which will trigger another polling request) idle_timeout: 20, # disconnects poller after 20 seconds of idle time - visibility_timeout: nil, # amount of time to process and delete the message before it is added back into the queue + visibility_timeout: nil, # amount of time in seconds to process and delete the message before it is added back into the queue skip_delete: true, # manually delete messages }.merge(poller_configuration || {})