Internal cron scheduler is blocking view responses #167

Closed
opened 2025-12-05 09:13:54 +01:00 by vollstock · 0 comments
Owner

The logic ScheduleListener class is making sure, the scheduler is running at most once a minute.
It’s triggered by the RouteMatchedevent and registered in EventServiceProvider.

However as the caldav:sync command is scheduled once a minute, this often blocks the request.
That’s only an issue for internal scheduling and won’t affect cron or webcron scheduling.

Maybe Laravels Concurrency feature can be used.

The logic `ScheduleListener` class is making sure, the scheduler is running at most once a minute. It’s triggered by the `RouteMatched`event and registered in `EventServiceProvider`. However as the `caldav:sync` command is scheduled once a minute, this often blocks the request. That’s only an issue for internal scheduling and won’t affect cron or webcron scheduling. Maybe [Laravels Concurrency feature](https://laravel.com/docs/12.x/concurrency) can be used.
vollstock added this to the 0.9 milestone 2025-12-05 09:13:54 +01:00
vollstock added the Bug label 2025-12-05 09:13:54 +01:00
vollstock added this to the 0.9 MVP project 2025-12-05 09:13:54 +01:00
vollstock added a new dependency 2025-12-05 09:22:22 +01:00
vollstock moved this to In Progress in 0.9 MVP on 2025-12-05 09:22:31 +01:00
vollstock referenced this issue from a commit 2025-12-05 09:53:34 +01:00
vollstock moved this to Done in 0.9 MVP on 2025-12-07 12:56:59 +01:00
Sign in to join this conversation.