spatie / laravel-short-schedule

Schedule artisan commands to run at a sub-minute frequency
https://freek.dev/1683-a-package-to-schedule-artisan-commands-at-sub-minute-frequencies
MIT License
611 stars 52 forks source link

OnOneServer blocking #22

Closed dima-bzz closed 3 years ago

dima-bzz commented 3 years ago

If you use onOneServer and run multiple tasks, one task will wait for another. It seems to me that this should not work like that. This is because addPeriodicTimer is blocking and waiting for the job to complete and other jobs are also waiting.

freekmurze commented 3 years ago

Feel free to submit a PR with tests that fixes this.

spatie-bot commented 3 years ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.