Git Product home page Git Product logo

Comments (3)

sagikazarmark avatar sagikazarmark commented on June 13, 2024

I am generally against the idea of making the ExternalCommandMiddleware aware of any detection and limitation logic. I said in the referenced issue that it is not the way it should work. I showed several scenarios (although probably not all of them are in the referenced issue). The point is the same codebase argument is less important IMO than having clean, decent code.

(Honestly, the more I think about this idea, the more I think it is bad....very bad. However I can imagine adding an envelope logic (besides Bernard\Envelope) and unwrapping it somewhere so that it can't be requeued. However that should go into a separate setup like LazyQueueMiddleware)

from tactician.

rosstuck avatar rosstuck commented on June 13, 2024

@acairns As suggested in thephpleague/tactician-bernard#11, we could avoid the loop by using a different type of wrapping for the second pass. I know you're using a different queuing system than Bernard, but perhaps we can continue the convo there because I suspect the ultimate solution is always the same and it's easier than chasing across multiple threads 😄

from tactician.

acairns avatar acairns commented on June 13, 2024

Sure thing!

from tactician.

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.