Coder Social home page Coder Social logo

Comments (4)

bokmann avatar bokmann commented on August 18, 2024

Diving into how the visibility_timeout parameter works with SQS

https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html

it seems like there is an answer, but that there might be a bug in propono.

I believe this line:

messages = aws_client.read_from_sqs(queue, num_messages, long_poll: long_poll, visibility_timeout: visibility_timeout)

should reference "@visibility_timeout" rather than 'visibility_timeout'.

I'll investigate more during daylight.

from propono.

iHiD avatar iHiD commented on August 18, 2024

What have you set visibility_timeout to in your config? https://github.com/ihid/propono#visiblity-timeout

from propono.

iHiD avatar iHiD commented on August 18, 2024

should reference "@visibility_timeout" rather than 'visibility_timeout'.

That's just using the attr_reader not the instance variable directly. Shouldn't make a difference.

from propono.

bokmann avatar bokmann commented on August 18, 2024

Once I grokked the visibility timeout and resolved which client instance I needed to set it to, all is well.

I put it on my todo list to write some documentation for the project about this.

from propono.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.