Git Product home page Git Product logo

Comments (4)

psteininger avatar psteininger commented on June 24, 2024 1

@nickelser one important feature, for which docs are missing is the key attribute in the options for concurrency. After reading through the code, I realized that it can be a Proc/Lamda, which totally worked for my use case (well, to a point, but the gem works as it should).

I did experience a problem with a Sidekiq backed job, which had named (not positional) parameters. The job would be called seemingly w/o parameters. I did change the signature of the perform method and got around it. Perhaps I should open another issue?

from activejob-traffic_control.

nickelser avatar nickelser commented on June 24, 2024

@psteininger I did try to document most things, sorry for the confusion!

I would love a PR, but barring that -- any details on what specifically was missing would be appreciated and I am happy to update!

from activejob-traffic_control.

nickelser avatar nickelser commented on June 24, 2024

@psteininger makes total sense -- I will add that to the docs. I also created a new issue to track the named arguments problem (#5), which I'll look at shortly (could definitely be an issue how we re-enqueue the jobs).

from activejob-traffic_control.

jeremywadsack avatar jeremywadsack commented on June 24, 2024

As with @nickelser, I had to read the source (and this issue) to realize the options for the key parameter. I see the following options for Concurrency

key:           nil,
wait_timeout:  0.1, 
stale_timeout: 60 * 10

I think it would be helpful to document all of these. Either in rdoc or in the README (or both).

from activejob-traffic_control.

Related Issues (11)

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.