Duplicate sidebar items when running via Laravel Octane (Swoole)
Hello!
I'm using Orchid for my project and I decided to install Laravel Octane.
Swoole is my preferred runner, but duplicate menu items appear for the CRUD resources.
I tested running my project using roadrunner instead and under roadrunner the issue does not appear to be present.
Hi @superwave1999 It's strange that RoadRunner doesn't have this issue since the cleaning mechanism should be the same. Please specify the versions of the software (Swoole/OpenSwoole/PHP/Laravel/Package) so that I can reproduce it.
Good afternoon! Here are my versions:
- PHP 8.2.7
- Swoole 5.0.3
- laravel/framework v10.13.5
- laravel/octane v2.0.1
- orchid/crud 4.0.1
- orchid/platform 14.4.0
Just ran some updates, and the issue still persists:
- laravel/framework: v10.14.1
- orchid/platform: 14.5.0
The configuration file octane.php is the same as a fresh install of octane, no modifications are made. If you reload the page quickly enough, you will see that the list of resources has 1 to 3 copies varying by reload.