Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Run Laravel schedule with Swoole #524

Open
videni opened this issue Apr 13, 2022 · 1 comment
Open

Run Laravel schedule with Swoole #524

videni opened this issue Apr 13, 2022 · 1 comment

Comments

@videni
Copy link

videni commented Apr 13, 2022

Any guys try to run Laravel schedule with Swoole please? You know the schedule:run would run very job inside isolated process, which is not not practical, because I got 50,000 jobs to run. So I am wondering if we can run each job with Swoole Coroutine

Here are steps what I am going to do:

  1. Start Laravel console Kernel
  2. Run job with Coroutine instead of process.
  3. Use the Swoole timer to drive Laravel schedule

Any ideas will be appreciated.

@mRamadan0101
Copy link

jobs are in difference times ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants