Giter Club home page Giter Club logo

Comments (4)

dusterio avatar dusterio commented on July 22, 2024 1

@xoco70 this package has to be installed in the worker app (or in both). just make sure your other app is creating/enqueueing jobs and that these jobs land in SQS attached to your worker

from laravel-aws-worker.

gnrcampos avatar gnrcampos commented on July 22, 2024

@xoco70 in my case I have the same code for both the app servers and the workers. I believe that this is the easiest way to go cause you don't need to test two different setups every time you change something. Maybe you can try merging your codes to see if it works.

from laravel-aws-worker.

ronaldwraithco avatar ronaldwraithco commented on July 22, 2024

@dusterio Do you need to create a new database for the workapp too? If you can use the same database, how do you do that?

from laravel-aws-worker.

fylzero avatar fylzero commented on July 22, 2024

@ronaldwraithco You can have the worker operate off the same database. When a worker processes a job from the queue, it follows the configuration specified in the Laravel application to determine which database to use.

from laravel-aws-worker.

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.